From 6113b183d344d5788298fa08fd9620d25eff11eb Mon Sep 17 00:00:00 2001 From: naskya Date: Fri, 31 May 2024 20:59:03 +0900 Subject: [PATCH] fix (backend-rs): use default features for napi and openssl --- Cargo.lock | 8 ++++++++ Cargo.toml | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 57f50a1b33..c9fd77dcab 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1700,6 +1700,8 @@ dependencies = [ "once_cell", "proc-macro2", "quote", + "regex", + "semver", "syn 2.0.66", ] @@ -2782,6 +2784,12 @@ dependencies = [ "thiserror", ] +[[package]] +name = "semver" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" + [[package]] name = "serde" version = "1.0.203" diff --git a/Cargo.toml b/Cargo.toml index ef5ab3e144..bb88b823ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,9 +5,9 @@ resolver = "2" [workspace.dependencies] macro-rs = { path = "packages/macro-rs" } -napi = { git = "https://github.com/napi-rs/napi-rs.git", rev = "ca2cd5c35a0c39ec4a94e93c6c5695b681046df2", default-features = false } -napi-derive = { version = "2.16.5", default-features = false } -napi-build = { version = "2.1.3", default-features = false } +napi = { git = "https://github.com/napi-rs/napi-rs.git", rev = "ca2cd5c35a0c39ec4a94e93c6c5695b681046df2" } +napi-derive = "2.16.5" +napi-build = "2.1.3" argon2 = { version = "0.5.3", default-features = false } async-trait = { version = "0.1.80", default-features = false } @@ -23,7 +23,7 @@ image = { version = "0.25.1", default-features = false } isahc = { version = "1.7.2", default-features = false } nom-exif = { version = "1.2.0", default-features = false } once_cell = { version = "1.19.0", default-features = false } -openssl = { version = "0.10.64", default-features = false } +openssl = "0.10.64" pretty_assertions = { version = "1.4.0", default-features = false } proc-macro2 = { version = "1.0.84", default-features = false } quote = { version = "1.0.36", default-features = false }