diff --git a/Cargo.lock b/Cargo.lock index dcfa6400ec..2bddb76352 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2221,7 +2221,7 @@ dependencies = [ "atomic 0.6.0", "pear", "serde", - "toml 0.8.12", + "toml 0.8.14", "uncased", "version_check", ] @@ -4986,7 +4986,7 @@ dependencies = [ "sysinfo 0.30.12", "thiserror", "tokio", - "toml 0.8.12", + "toml 0.8.14", "tracing", "url", "zeroize", @@ -5132,7 +5132,7 @@ dependencies = [ "chacha20poly1305", "criterion", "curve25519-dalek 4.1.2", - "fastrand 1.9.0", + "fastrand 2.1.0", "getrandom 0.2.15", "log", "rand 0.8.5", @@ -7552,9 +7552,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" +checksum = "79e674e01f999af37c49f70a6ede167a8a60b2503e56c5599532a65baa5969a0" dependencies = [ "serde", ] @@ -8574,21 +8574,21 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.12" +version = "0.8.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9dd1545e8208b4a5af1aa9bbd0b4cf7e9ea08fabc5d0a5c67fcaafa17433aa3" +checksum = "6f49eb2ab21d2f26bd6db7bf383edc527a7ebaee412d17af4d40fdccd442f335" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.22.12", + "toml_edit 0.22.14", ] [[package]] name = "toml_datetime" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf" dependencies = [ "serde", ] @@ -8608,9 +8608,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.12" +version = "0.22.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3328d4f68a705b2a4498da1d580585d39a6510f98318a2cec3018a7ec61ddef" +checksum = "f21c7aaf97f1bd9ca9d4f9e73b0a6c74bd5afef56f2bc931943a6e1c37e04e38" dependencies = [ "indexmap 2.2.6", "serde", diff --git a/Cargo.toml b/Cargo.toml index 9d0da09b78..60c50f3b74 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -189,6 +189,7 @@ cupid = "0.6.1" curve25519-dalek = "4.1" dashmap = "5.5.3" defguard_wireguard_rs = "0.4.2" +digest = "0.10.7" dirs = "4.0" doc-comment = "0.3" dotenvy = "0.15.6" @@ -196,6 +197,7 @@ ecdsa = "0.16" ed25519-dalek = "2.1" etherparse = "0.13.0" eyre = "0.6.9" +fastrand = "2.1.0" flate2 = "1.0.28" futures = "0.3.28" generic-array = "0.14.7" @@ -215,6 +217,7 @@ hyper = "1.3.1" indexed_db_futures = "0.3.0" inquire = "0.6.2" ip_network = "0.4.1" +ipnetwork = "0.16" isocountry = "0.3.2" k256 = "0.13" lazy_static = "1.4.0" @@ -251,6 +254,7 @@ rocket_cors = "0.6.0" rocket_okapi = "0.8.0" safer-ffi = "0.1.4" schemars = "0.8.1" +semver = "1.0.23" serde = "1.0.152" serde_bytes = "0.11.6" serde_derive = "1.0" @@ -258,12 +262,14 @@ serde_json = "1.0.91" serde_repr = "0.1" serde_with = "3.4.0" serde_yaml = "0.9.25" +sha2 = "0.10.8" si-scale = "0.2.2" sphinx-packet = "0.1.1" sqlx = "0.6.3" strum = "0.25" subtle-encoding = "0.5" syn = "1" +sysinfo = "0.30.12" tap = "1.0.1" tar = "0.4.40" tempfile = "3.5.0" @@ -274,6 +280,7 @@ tokio-stream = "0.1.14" tokio-test = "0.4.2" tokio-tungstenite = { version = "0.20.1" } tokio-util = "0.7.10" +toml = "0.8.14" tower = "0.4.13" tower-http = "0.5.2" tracing = "0.1.37" diff --git a/common/client-core/Cargo.toml b/common/client-core/Cargo.toml index eb47f08c61..1d7c34d51c 100644 --- a/common/client-core/Cargo.toml +++ b/common/client-core/Cargo.toml @@ -20,7 +20,7 @@ log = { workspace = true } rand = { workspace = true } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } -sha2 = "0.10.6" +sha2 = { workspace = true } si-scale = { workspace = true } tap = { workspace = true } thiserror = { workspace = true } diff --git a/common/crypto/Cargo.toml b/common/crypto/Cargo.toml index 4547d2e0f3..f66b5fba3c 100644 --- a/common/crypto/Cargo.toml +++ b/common/crypto/Cargo.toml @@ -12,7 +12,7 @@ aes = { workspace = true, optional = true } bs58 = { workspace = true } blake3 = { workspace = true, features = ["traits-preview"], optional = true } ctr = { workspace = true, optional = true } -digest = { version = "0.10.3", optional = true } +digest = { workspace = true, optional = true } generic-array = { workspace = true, optional = true } hkdf = { workspace = true, optional = true } hmac = { workspace = true, optional = true } diff --git a/common/nyxd-scraper/Cargo.toml b/common/nyxd-scraper/Cargo.toml index 44e7b9497e..9eee598af7 100644 --- a/common/nyxd-scraper/Cargo.toml +++ b/common/nyxd-scraper/Cargo.toml @@ -17,7 +17,7 @@ cosmrs.workspace = true eyre = { workspace = true } futures.workspace = true humantime = { workspace = true } -sha2 = "0.10.8" +sha2 = { workspace = true } serde = { workspace = true, features = ["derive"] } sqlx = { workspace = true, features = ["runtime-tokio-rustls", "sqlite", "macros", "migrate", "time"] } tendermint.workspace = true diff --git a/common/types/Cargo.toml b/common/types/Cargo.toml index 5fa376ae29..b438fcfb04 100644 --- a/common/types/Cargo.toml +++ b/common/types/Cargo.toml @@ -17,7 +17,7 @@ reqwest = { workspace = true } schemars = { workspace = true } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } -sha2 = "0.10.8" +sha2 = { workspace = true } strum = { workspace = true, features = ["derive"] } thiserror = { workspace = true } ts-rs = { workspace = true } diff --git a/common/wireguard-types/Cargo.toml b/common/wireguard-types/Cargo.toml index 0cd841a384..807a59e857 100644 --- a/common/wireguard-types/Cargo.toml +++ b/common/wireguard-types/Cargo.toml @@ -25,7 +25,7 @@ nym-network-defaults = { path = "../network-defaults" } ## verify: hmac = { workspace = true, optional = true } -sha2 = { version = "0.10.8", optional = true } +sha2 = { workspace = true, optional = true } ## openapi: utoipa = { workspace = true, optional = true } diff --git a/gateway/Cargo.toml b/gateway/Cargo.toml index a2785fa5e6..9dbcd1109d 100644 --- a/gateway/Cargo.toml +++ b/gateway/Cargo.toml @@ -27,7 +27,7 @@ dirs = { workspace = true } dotenvy = { workspace = true } futures = { workspace = true } humantime-serde = { workspace = true } -ipnetwork = "0.16" +ipnetwork = { workspace = true } log = { workspace = true } once_cell = { workspace = true } rand = { workspace = true } diff --git a/nym-node/Cargo.toml b/nym-node/Cargo.toml index 9b9b7196e6..729b6167ac 100644 --- a/nym-node/Cargo.toml +++ b/nym-node/Cargo.toml @@ -21,23 +21,23 @@ celes = { workspace = true } # country codes colored = { workspace = true } clap = { workspace = true, features = ["cargo", "env"] } humantime-serde = { workspace = true } -ipnetwork = "0.16.0" +ipnetwork = { workspace = true } rand = { workspace = true } serde = { workspace = true, features = ["derive"] } serde_json.workspace = true thiserror.workspace = true tracing.workspace = true tokio = { workspace = true, features = ["macros", "sync"] } -toml = "0.8.12" +toml = { workspace = true } url = { workspace = true, features = ["serde"] } zeroize = { workspace = true, features = ["zeroize_derive"] } # temporary bonding information v1 (to grab and parse nym-mixnode and nym-gateway package versions) -semver = "1.0.22" +semver = { workspace = true } # system info: cupid = { workspace = true } -sysinfo = "0.30.7" +sysinfo = { workspace = true } nym-bin-common = { path = "../common/bin-common", features = ["basic_tracing", "output_format"] } nym-client-core-config-types = { path = "../common/client-core/config-types" } diff --git a/nym-node/nym-node-http-api/Cargo.toml b/nym-node/nym-node-http-api/Cargo.toml index a77b443447..352a2fca6e 100644 --- a/nym-node/nym-node-http-api/Cargo.toml +++ b/nym-node/nym-node-http-api/Cargo.toml @@ -22,11 +22,11 @@ utoipa = { workspace = true, features = ["axum_extras", "time"] } utoipa-swagger-ui = { workspace = true, features = ["axum"] } colored = { workspace = true } -ipnetwork = "0.16" +ipnetwork = { workspace = true } rand = { workspace = true } # Wireguard: -fastrand = "2" +fastrand = { workspace = true } nym-crypto = { path = "../../common/crypto", features = ["asymmetric", "rand"] } nym-http-api-common = { path = "../../common/http-api-common" } diff --git a/nym-outfox/Cargo.toml b/nym-outfox/Cargo.toml index e992866177..343dd35a51 100644 --- a/nym-outfox/Cargo.toml +++ b/nym-outfox/Cargo.toml @@ -24,4 +24,4 @@ log = { workspace = true } [dev-dependencies] criterion = { workspace = true } -fastrand = "1.8" +fastrand = { workspace = true } diff --git a/nym-validator-rewarder/Cargo.toml b/nym-validator-rewarder/Cargo.toml index 3d00285178..545d62b194 100644 --- a/nym-validator-rewarder/Cargo.toml +++ b/nym-validator-rewarder/Cargo.toml @@ -26,7 +26,7 @@ url.workspace = true zeroize.workspace = true serde_with = { workspace = true } -sha2 = "0.10.8" +sha2 = { workspace = true } humantime = { workspace = true } humantime-serde.workspace = true diff --git a/tools/internal/sdk-version-bump/Cargo.toml b/tools/internal/sdk-version-bump/Cargo.toml index b4ab71b34f..ba51b1caf6 100644 --- a/tools/internal/sdk-version-bump/Cargo.toml +++ b/tools/internal/sdk-version-bump/Cargo.toml @@ -14,6 +14,6 @@ license.workspace = true anyhow = { workspace = true } cargo-edit = "0.11.0" clap = { workspace = true, features = ["derive", "string"] } -semver = "1.0.18" +semver = { workspace = true } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } diff --git a/tools/nymvisor/Cargo.toml b/tools/nymvisor/Cargo.toml index 769dd74df2..20ad6021ba 100644 --- a/tools/nymvisor/Cargo.toml +++ b/tools/nymvisor/Cargo.toml @@ -24,7 +24,7 @@ nix = { workspace = true, features = ["signal", "fs"] } reqwest = { workspace = true, features = ["json", "stream", "rustls-tls"] } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } -sha2 = "0.10.8" +sha2 = { workspace = true } tar = { workspace = true } time = { workspace = true, features = [ "serde-human-readable" ] } tokio = { workspace = true, features = ["rt", "macros", "signal", "process", "sync"] }