From 5e5ee993fefb98b9f3a4f106d57fae2bf9147f4c Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Mon, 9 Feb 2026 13:42:22 +0100 Subject: [PATCH] Bump rand from 0.9.0 to 0.10.0 --- Cargo.lock | 52 ++++++++++++++++++++++++++++++++++++++++++------- Cargo.toml | 2 +- fuzz/Cargo.toml | 2 +- 3 files changed, 47 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 70935b7..6951432 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -16,7 +16,7 @@ checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" dependencies = [ "cfg-if", "cipher", - "cpufeatures", + "cpufeatures 0.2.17", ] [[package]] @@ -153,6 +153,17 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" +[[package]] +name = "chacha20" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f8d983286843e49675a4b7a2d174efe136dc93a18d69130dd18198a6c167601" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.0", + "rand_core 0.10.0", +] + [[package]] name = "chrono" version = "0.4.43" @@ -248,6 +259,15 @@ dependencies = [ "libc", ] +[[package]] +name = "cpufeatures" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201" +dependencies = [ + "libc", +] + [[package]] name = "crc" version = "3.3.0" @@ -502,6 +522,7 @@ dependencies = [ "js-sys", "libc", "r-efi", + "rand_core 0.10.0", "wasip2", "wasip3", "wasm-bindgen", @@ -961,7 +982,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" dependencies = [ "rand_chacha", - "rand_core", + "rand_core 0.9.3", +] + +[[package]] +name = "rand" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc266eb313df6c5c09c1c7b1fbe2510961e5bcd3add930c1e31f7ed9da0feff8" +dependencies = [ + "chacha20", + "getrandom 0.4.1", + "rand_core 0.10.0", ] [[package]] @@ -971,7 +1003,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" dependencies = [ "ppv-lite86", - "rand_core", + "rand_core 0.9.3", ] [[package]] @@ -983,6 +1015,12 @@ dependencies = [ "getrandom 0.3.4", ] +[[package]] +name = "rand_core" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c8d0fd677905edcbeedbf2edb6494d676f0e98d54d5cf9bda0b061cb8fb8aba" + [[package]] name = "redox_syscall" version = "0.5.18" @@ -1123,7 +1161,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" dependencies = [ "cfg-if", - "cpufeatures", + "cpufeatures 0.2.17", "digest", ] @@ -1134,7 +1172,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ "cfg-if", - "cpufeatures", + "cpufeatures 0.2.17", "digest", ] @@ -1225,7 +1263,7 @@ dependencies = [ "phf", "phf_codegen", "pretty_assertions", - "rand", + "rand 0.10.0", "regex", "rlimit", "tar", @@ -1466,7 +1504,7 @@ dependencies = [ "libc", "nix", "pretty_assertions", - "rand", + "rand 0.9.2", "regex", "rlimit", "tempfile", diff --git a/Cargo.toml b/Cargo.toml index 49f93fc..8a594d3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,7 @@ ctor = "0.6.0" libc = "0.2.153" phf = "0.13.0" phf_codegen = "0.13.0" -rand = { version = "0.9", features = ["small_rng"] } +rand = { version = "0.10.0" } regex = "1.10.4" uucore = "0.6.0" uuhelp_parser = "0.2.0" diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 8f6f343..90f34dd 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -12,7 +12,7 @@ console = "0.16.0" libfuzzer-sys = "0.4.7" libc = "0.2.153" tempfile = "3.15.0" -rand = { version = "0.9.0", features = ["small_rng"] } +rand = { version = "0.10.0" } similar = "2.5.0" uucore = { version = "0.6.0", features = ["libc"] } uufuzz = "0.6.0"