From 279de8a09b1d6b4f08dc190649b11225c4ca7c8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20H=C3=A4ggblad?= Date: Tue, 27 Aug 2024 15:06:17 +0200 Subject: [PATCH] Run cargo-autoinherit for a few new crates (#4801) * Run cargo-autoinherit for a few new crates * Sort crates list * sort --- Cargo.toml | 4 ++++ common/crypto/Cargo.toml | 2 +- common/nym_offline_compact_ecash/Cargo.toml | 2 +- nym-api/Cargo.toml | 2 +- nym-network-monitor/Cargo.toml | 2 +- tools/internal/testnet-manager/Cargo.toml | 4 ++-- wasm/zknym-lib/Cargo.toml | 4 ++-- 7 files changed, 12 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4efa1697a7..4e3529fee4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -196,6 +196,7 @@ clap_complete = "4.5" clap_complete_fig = "4.5" colored = "2.0" comfy-table = "6.0.0" +console = "0.15.8" console-subscriber = "0.1.1" console_error_panic_hook = "0.1" const-str = "0.5.6" @@ -232,6 +233,7 @@ httpcodec = "0.2.3" humantime = "2.1.0" humantime-serde = "1.1.1" hyper = "1.3.1" +indicatif = "0.17.8" inquire = "0.6.2" ip_network = "0.4.1" ipnetwork = "0.16" @@ -252,6 +254,7 @@ opentelemetry = "0.19.0" opentelemetry-jaeger = "0.18.0" parking_lot = "0.12.1" pem = "0.8" +petgraph = "0.6.5" pin-project = "1.0" pretty_env_logger = "0.4.0" publicsuffix = "2.2.3" @@ -310,6 +313,7 @@ tungstenite = { version = "0.20.1", default-features = false } url = "2.5" utoipa = "4.2.0" utoipa-swagger-ui = "6.0.0" +uuid = "*" vergen = { version = "=8.3.1", default-features = false } walkdir = "2" wasm-bindgen-test = "0.3.36" diff --git a/common/crypto/Cargo.toml b/common/crypto/Cargo.toml index 2593c47b30..ff002afa0d 100644 --- a/common/crypto/Cargo.toml +++ b/common/crypto/Cargo.toml @@ -20,7 +20,7 @@ cipher = { workspace = true, optional = true } x25519-dalek = { workspace = true, features = ["static_secrets"], optional = true } ed25519-dalek = { workspace = true, features = ["rand_core"], optional = true } rand = { workspace = true, optional = true } -serde_bytes = { version = "0.11.15", optional = true } +serde_bytes = { workspace = true, optional = true } serde_crate = { version = "1.0", optional = true, default-features = false, features = ["derive"], package = "serde" } subtle-encoding = { workspace = true, features = ["bech32-preview"] } thiserror = { workspace = true } diff --git a/common/nym_offline_compact_ecash/Cargo.toml b/common/nym_offline_compact_ecash/Cargo.toml index 19bf70cf62..e9d2acbda5 100644 --- a/common/nym_offline_compact_ecash/Cargo.toml +++ b/common/nym_offline_compact_ecash/Cargo.toml @@ -21,7 +21,7 @@ thiserror = { workspace = true } sha2 = "0.9" bs58 = { workspace = true } serde = { workspace = true, features = ["derive"] } -rayon = { version = "1.5.0", optional = true } +rayon = { workspace = true, optional = true } zeroize = { workspace = true, features = ["zeroize_derive"] } ff = { workspace = true } group = { workspace = true } diff --git a/nym-api/Cargo.toml b/nym-api/Cargo.toml index 9e58b24f1c..d6906d0ce8 100644 --- a/nym-api/Cargo.toml +++ b/nym-api/Cargo.toml @@ -20,7 +20,7 @@ async-trait = { workspace = true } bs58 = { workspace = true } bip39 = { workspace = true } bincode.workspace = true -bloomfilter = "1.0.13" +bloomfilter = { workspace = true } cfg-if = { workspace = true } clap = { workspace = true, features = ["cargo", "derive"] } console-subscriber = { workspace = true, optional = true } # validator-api needs to be built with RUSTFLAGS="--cfg tokio_unstable" diff --git a/nym-network-monitor/Cargo.toml b/nym-network-monitor/Cargo.toml index 939a8b7146..5f608175f0 100644 --- a/nym-network-monitor/Cargo.toml +++ b/nym-network-monitor/Cargo.toml @@ -17,7 +17,7 @@ clap = { workspace = true, features = ["derive"] } dashmap = { workspace = true } futures = { workspace = true } log = { workspace = true } -petgraph = "0.6.5" +petgraph = { workspace = true } rand = { workspace = true } rand_chacha = { workspace = true } reqwest = { workspace = true, features = ["json"] } diff --git a/tools/internal/testnet-manager/Cargo.toml b/tools/internal/testnet-manager/Cargo.toml index 929ac555a6..bea1c68d4f 100644 --- a/tools/internal/testnet-manager/Cargo.toml +++ b/tools/internal/testnet-manager/Cargo.toml @@ -12,10 +12,10 @@ license.workspace = true anyhow.workspace = true bip39.workspace = true bs58.workspace = true -console = "0.15.8" +console = { workspace = true } cw-utils.workspace = true clap = { workspace = true, features = ["cargo", "derive"] } -indicatif = "0.17.8" +indicatif = { workspace = true } rand.workspace = true serde = { workspace = true, features = ["derive"] } serde_json.workspace = true diff --git a/wasm/zknym-lib/Cargo.toml b/wasm/zknym-lib/Cargo.toml index 5ef55b0314..75a203b727 100644 --- a/wasm/zknym-lib/Cargo.toml +++ b/wasm/zknym-lib/Cargo.toml @@ -16,13 +16,13 @@ crate-type = ["cdylib", "rlib"] [dependencies] async-trait.workspace = true bs58.workspace = true -getrandom = { version = "0.2", features = ["js"] } +getrandom = { workspace = true, features = ["js"] } js-sys.workspace = true wasm-bindgen.workspace = true serde = { workspace = true, features = ["derive"] } thiserror.workspace = true tsify = { workspace = true, features = ["js"] } -uuid = { version = "*", features = ["serde"] } +uuid = { workspace = true, features = ["serde"] } reqwest = { workspace = true } wasmtimer = { workspace = true } zeroize.workspace = true