Fix (some) feature unification build failures (#4681)

* nym-crypto: use rand_core traits from rand crate instead of cipher

Make rand feature also use the rand_core traits from the rand crate to
fix compilation of nym-bandwidth-controller

* Add features to bip32 in nym-ledger crate

* Delete unused empty crate

* Add clag feature to socks5-client

* Add feature flags to authenticator

* Add clap feature to network-requester

* Handle rebase changes
This commit is contained in:
Jon Häggblad
2024-07-30 16:15:56 +02:00
committed by GitHub
parent dcd70155cd
commit 0d19bb4ddc
5 changed files with 6 additions and 17 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ url = { workspace = true }
zeroize = { workspace = true }
# internal
nym-bin-common = { path = "../../common/bin-common", features = ["output_format"] }
nym-bin-common = { path = "../../common/bin-common", features = ["output_format", "clap"] }
nym-client-core = { path = "../../common/client-core", features = ["fs-credentials-storage", "fs-surb-storage", "fs-gateways-storage", "cli"] }
nym-config = { path = "../../common/config" }
nym-credential-storage = { path = "../../common/credential-storage" }
+1 -1
View File
@@ -7,7 +7,7 @@ license.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bip32 = { workspace = true }
bip32 = { workspace = true, features = ["secp256k1", "std"] }
k256 = { workspace = true }
ledger-transport = { workspace = true }
ledger-transport-hid = { workspace = true }
-11
View File
@@ -1,11 +0,0 @@
[package]
name = "nym-mobile-storage"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
async-trait = { workspace = true }
thiserror = { workspace = true }
+3 -3
View File
@@ -13,7 +13,7 @@ anyhow = { workspace = true }
bincode = { workspace = true }
bs58 = { workspace = true }
bytes = { workspace = true }
clap = { workspace = true }
clap = { workspace = true, features = ["cargo", "derive"] }
fastrand = { workspace = true }
futures = { workspace = true }
ipnetwork = { workspace = true }
@@ -28,8 +28,8 @@ tokio-util = { workspace = true, features = ["codec"] }
url = { workspace = true }
nym-authenticator-requests = { path = "../../common/authenticator-requests" }
nym-bin-common = { path = "../../common/bin-common" }
nym-client-core = { path = "../../common/client-core" }
nym-bin-common = { path = "../../common/bin-common", features = ["clap", "output_format"] }
nym-client-core = { path = "../../common/client-core", features = ["cli"] }
nym-config = { path = "../../common/config" }
nym-crypto = { path = "../../common/crypto" }
nym-id = { path = "../../common/nym-id" }
@@ -44,7 +44,7 @@ zeroize = { workspace = true }
# internal
nym-async-file-watcher = { path = "../../common/async-file-watcher" }
nym-bin-common = { path = "../../common/bin-common", features = ["output_format"] }
nym-bin-common = { path = "../../common/bin-common", features = ["output_format", "clap"] }
nym-client-core = { path = "../../common/client-core", features = ["cli", "fs-gateways-storage", "fs-surb-storage"] }
nym-client-websocket-requests = { path = "../../clients/native/websocket-requests" }
nym-config = { path = "../../common/config" }