From f051d04a7488983edf0db427e6c54370fa1410cc Mon Sep 17 00:00:00 2001 From: Rasensprenger Date: Sun, 9 Aug 2026 21:02:34 +0200 Subject: [PATCH] Update Rust crate rand to 0.10 --- Cargo.lock | 55 +++++------------------------------- client/Cargo.toml | 2 +- communities/Cargo.toml | 2 +- iota-auth/Cargo.toml | 2 +- iota-cli/Cargo.toml | 2 +- iota-storage/Cargo.toml | 2 +- omikron-connector/Cargo.toml | 2 +- other-iota/Cargo.toml | 2 +- web-ui/Cargo.toml | 2 +- 9 files changed, 15 insertions(+), 56 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1003ddf..b112d07 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -808,7 +808,7 @@ dependencies = [ "once_cell", "open", "pnet", - "rand 0.8.7", + "rand 0.10.2", "rand_core 0.6.4", "ratatui", "reqwest", @@ -2283,7 +2283,7 @@ dependencies = [ "once_cell", "open", "pnet", - "rand 0.8.7", + "rand 0.10.2", "rand_core 0.6.4", "ratatui", "reqwest", @@ -2338,7 +2338,7 @@ dependencies = [ "once_cell", "open", "pnet", - "rand 0.8.7", + "rand 0.10.2", "rand_core 0.6.4", "ratatui", "reqwest", @@ -2516,7 +2516,7 @@ dependencies = [ "mtp", "once_cell", "r2d2", - "rand 0.8.7", + "rand 0.10.2", "rand_core 0.6.4", "ratatui", "reqwest", @@ -3364,7 +3364,7 @@ dependencies = [ "iota-util", "json", "mtp", - "rand 0.8.7", + "rand 0.10.2", "rand_core 0.6.4", "reqwest", "sha2 0.11.0", @@ -3483,7 +3483,7 @@ dependencies = [ "once_cell", "open", "pnet", - "rand 0.8.7", + "rand 0.10.2", "rand_core 0.6.4", "ratatui", "reqwest", @@ -3883,15 +3883,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" @@ -3999,8 +3990,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", ] @@ -4015,16 +4004,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.5.1" @@ -5596,7 +5575,7 @@ dependencies = [ "once_cell", "open", "pnet", - "rand 0.8.7", + "rand 0.10.2", "rand_core 0.6.4", "ratatui", "reqwest", @@ -6056,26 +6035,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/client/Cargo.toml b/client/Cargo.toml index 174b5fa..0c9e8a1 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -39,7 +39,7 @@ lazy_static = "1.5.0" once_cell = "1.21.3" open = "5.3.3" pnet = "0.35.0" -rand = "0.8" +rand = "0.10" rand_core = { version = "0.6", features = ["getrandom", "std"] } ratatui = "0.30.0" reqwest = "0.13.2" diff --git a/communities/Cargo.toml b/communities/Cargo.toml index 89c4f57..c4553c1 100644 --- a/communities/Cargo.toml +++ b/communities/Cargo.toml @@ -38,7 +38,7 @@ lazy_static = "1.5.0" once_cell = "1.21.3" open = "5.3.3" pnet = "0.35.0" -rand = "0.8" +rand = "0.10" rand_core = { version = "0.6", features = ["getrandom", "std"] } ratatui = "0.30.0" reqwest = "0.13.2" diff --git a/iota-auth/Cargo.toml b/iota-auth/Cargo.toml index dc43347..88cb1ea 100644 --- a/iota-auth/Cargo.toml +++ b/iota-auth/Cargo.toml @@ -35,7 +35,7 @@ lazy_static = "1.5.0" once_cell = "1.21.3" open = "5.3.3" pnet = "0.35.0" -rand = "0.8" +rand = "0.10" rand_core = { version = "0.6", features = ["getrandom", "std"] } ratatui = "0.30.0" reqwest = "0.13.2" diff --git a/iota-cli/Cargo.toml b/iota-cli/Cargo.toml index 4c3d508..875893f 100644 --- a/iota-cli/Cargo.toml +++ b/iota-cli/Cargo.toml @@ -53,7 +53,7 @@ lazy_static = "1.5.0" once_cell = "1.21.3" open = "5.3.3" pnet = "0.35.0" -rand = "0.8" +rand = "0.10" rand_core = { version = "0.6", features = ["getrandom", "std"] } ratatui = "0.30.0" reqwest = "0.13.2" diff --git a/iota-storage/Cargo.toml b/iota-storage/Cargo.toml index caf6417..1b4faa6 100644 --- a/iota-storage/Cargo.toml +++ b/iota-storage/Cargo.toml @@ -23,7 +23,7 @@ serde = { version = "1", features = ["derive"] } serde_json = "1" serde_yaml = "0.9" thiserror = "2" -rand = "0.8" +rand = "0.10" rand_core = { version = "0.6", features = ["getrandom", "std"] } ratatui = "0.30.0" reqwest = "0.13.2" diff --git a/omikron-connector/Cargo.toml b/omikron-connector/Cargo.toml index 1e3e21d..76f079f 100644 --- a/omikron-connector/Cargo.toml +++ b/omikron-connector/Cargo.toml @@ -24,7 +24,7 @@ tokio-util = { version = "0.7", features = ["rt"] } uuid = { version = "*", features = ["v4"] } base64 = "0.22.1" hex = "*" -rand = "0.8" +rand = "0.10" rand_core = { version = "0.6", features = ["getrandom", "std"] } sha2 = "0.11.0" x448 = { version = "*" } diff --git a/other-iota/Cargo.toml b/other-iota/Cargo.toml index a6933c3..27cf265 100644 --- a/other-iota/Cargo.toml +++ b/other-iota/Cargo.toml @@ -38,7 +38,7 @@ lazy_static = "1.5.0" once_cell = "1.21.3" open = "5.3.3" pnet = "0.35.0" -rand = "0.8" +rand = "0.10" rand_core = { version = "0.6", features = ["getrandom", "std"] } ratatui = "0.30.0" reqwest = "0.13.2" diff --git a/web-ui/Cargo.toml b/web-ui/Cargo.toml index 988aac1..8d94570 100644 --- a/web-ui/Cargo.toml +++ b/web-ui/Cargo.toml @@ -38,7 +38,7 @@ lazy_static = "1.5.0" once_cell = "1.21.3" open = "5.3.3" pnet = "0.35.0" -rand = "0.8" +rand = "0.10" rand_core = { version = "0.6", features = ["getrandom", "std"] } ratatui = "0.30.0" reqwest = "0.13.2"