From 588244eb7f8ad0663c49f68e699218b72843e70b Mon Sep 17 00:00:00 2001 From: Rasensprenger Date: Sat, 29 Aug 2026 14:02:32 +0300 Subject: [PATCH] Update Rust crate rand to 0.10 --- Cargo.lock | 43 +---------------------------------------- communities/Cargo.toml | 2 +- iota-storage/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 44 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index baa33b5..12332a9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2247,7 +2247,7 @@ dependencies = [ "json", "once_cell", "r2d2", - "rand 0.8.7", + "rand 0.10.2", "rusqlite", "serde", "serde_yaml", @@ -3416,15 +3416,6 @@ version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "efca4c95a19a79d1c98f791f10aebd5c1363b473244630bb7dbde1dc98455a24" -[[package]] -name = "ppv-lite86" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" -dependencies = [ - "zerocopy", -] - [[package]] name = "proc-macro2" version = "1.0.107" @@ -3532,8 +3523,6 @@ version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22f6172bdec972074665ed81ed53b71da00bfc44b65a753cfde883ec4c702a1a" dependencies = [ - "libc", - "rand_chacha", "rand_core 0.6.4", ] @@ -3548,16 +3537,6 @@ dependencies = [ "rand_core 0.10.1", ] -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core 0.6.4", -] - [[package]] name = "rand_core" version = "0.6.4" @@ -5454,26 +5433,6 @@ dependencies = [ "synstructure", ] -[[package]] -name = "zerocopy" -version = "0.8.56" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "556764e583adb45a9f8d413c2a147fa7e8d821e48e12b14fd560b607998b75eb" -dependencies = [ - "zerocopy-derive", -] - -[[package]] -name = "zerocopy-derive" -version = "0.8.56" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2ab42fc20575779bd240faa45f94a74256f755c0fa9e89f0ede20d91d0cdfc1" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", -] - [[package]] name = "zerofrom" version = "0.1.8" diff --git a/communities/Cargo.toml b/communities/Cargo.toml index 36ef42e..0b3ad25 100644 --- a/communities/Cargo.toml +++ b/communities/Cargo.toml @@ -8,7 +8,7 @@ mtp = { git = "https://git.methanium.net/Methanium/mtp.git" } iota-util = { path = "../iota-util" } futures = "*" -rand = "0.8" +rand = "0.10" rand_core = { version = "0.6", features = ["getrandom", "std"] } sha2 = "0.11.0" tokio = { version = "1.50.0", features = ["full"] } diff --git a/iota-storage/Cargo.toml b/iota-storage/Cargo.toml index 9f91c52..5541ef4 100644 --- a/iota-storage/Cargo.toml +++ b/iota-storage/Cargo.toml @@ -15,6 +15,6 @@ r2d2 = "0.8" serde = { version = "1", features = ["derive"] } serde_yaml = "0.9" thiserror = "2" -rand = "0.8" +rand = "0.10" rusqlite = "0.40.0" tokio = { version = "1.50.0", features = ["full"] }