From 90901216c18aa8fea25b7af4c9cee859a35ffe88 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 15 Apr 2026 06:58:44 +0000 Subject: [PATCH] Bump rand from 0.8.5 to 0.9.3 Bumps [rand](https://github.com/rust-random/rand) from 0.8.5 to 0.9.3. - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/0.9.3/CHANGELOG.md) - [Commits](https://github.com/rust-random/rand/compare/0.8.5...0.9.3) --- updated-dependencies: - dependency-name: rand dependency-version: 0.9.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Cargo.lock | 42 ++++++++++++++++++++++++++++++++++-------- Cargo.toml | 2 +- bench/Cargo.toml | 2 +- 3 files changed, 36 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 52d217e..81cac6d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -331,6 +331,18 @@ dependencies = [ "wasi", ] +[[package]] +name = "getrandom" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if", + "libc", + "r-efi", + "wasip2", +] + [[package]] name = "getrandom" version = "0.4.1" @@ -600,7 +612,7 @@ dependencies = [ "num-integer", "num-modular", "num-traits", - "rand 0.8.5", + "rand 0.9.3", ] [[package]] @@ -613,7 +625,7 @@ dependencies = [ "num-prime", "num-primes", "primal-check", - "rand 0.8.5", + "rand 0.9.3", "rand_chacha 0.10.0", "rand_core 0.10.1", ] @@ -767,19 +779,27 @@ version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ - "libc", - "rand_chacha 0.3.1", "rand_core 0.6.4", ] +[[package]] +name = "rand" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ec095654a25171c2124e9e3393a930bddbffdc939556c914957a4c3e0a87166" +dependencies = [ + "rand_chacha 0.9.0", + "rand_core 0.9.5", +] + [[package]] name = "rand_chacha" -version = "0.3.1" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" dependencies = [ "ppv-lite86", - "rand_core 0.6.4", + "rand_core 0.9.5", ] [[package]] @@ -812,8 +832,14 @@ name = "rand_core" version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" + +[[package]] +name = "rand_core" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" dependencies = [ - "getrandom 0.2.17", + "getrandom 0.3.4", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index ec98b4e..4626a69 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ num-integer = "0.1.44" num-traits = "0.2.14" num-modular = "0.6.1" bitvec = "1.0.0" -rand = "0.8.4" +rand = "0.9.3" lru = "0.16.3" either = "1.6.1" diff --git a/bench/Cargo.toml b/bench/Cargo.toml index 6adcb14..af5970e 100644 --- a/bench/Cargo.toml +++ b/bench/Cargo.toml @@ -18,7 +18,7 @@ glass_pumpkin = "1.2.0" num-bigint = { version = "0.4", features = ["rand"] } num-prime = { path = "..", features = ["big-int"] } primal-check = "0.3.1" -rand = "0.8" +rand = "0.9" rand_chacha = "0.10" rand_core = "0.10"