diff --git a/Cargo.lock b/Cargo.lock index 343d1e5..4a33c6a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -510,8 +510,8 @@ dependencies = [ "flate2", "git-version", "log", - "rand", - "rand_chacha", + "rand 0.9.3", + "rand_chacha 0.3.1", "siphasher", "thread-priority", "wide", @@ -542,8 +542,8 @@ version = "0.0.0" dependencies = [ "criterion", "lepton_jpeg", - "rand", - "rand_chacha", + "rand 0.9.3", + "rand_chacha 0.3.1", "rstest", "siphasher", ] @@ -812,8 +812,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", - "rand_chacha", - "rand_core", + "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]] @@ -823,7 +833,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", - "rand_core", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_chacha" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +dependencies = [ + "ppv-lite86", + "rand_core 0.9.5", ] [[package]] @@ -835,6 +855,15 @@ dependencies = [ "getrandom 0.2.16", ] +[[package]] +name = "rand_core" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" +dependencies = [ + "getrandom 0.3.4", +] + [[package]] name = "rayon" version = "1.11.0" @@ -1478,7 +1507,7 @@ checksum = "1ccf671d62d1bd0c913d9059e69bb4a6b51f7a4c899ab83c62d921e35f206053" dependencies = [ "defer-heavy", "log", - "rand", + "rand 0.8.5", "sync-ptr", "windows", ] diff --git a/Cargo.toml b/Cargo.toml index 1e6fd60..1634ef4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ members = ["lib", "dll", "util", "python"] [dev-dependencies] lepton_jpeg = { path = "lib", features = ["micro_benchmark"] } rstest = "0.22" -rand = "0.8" +rand = "0.9" rand_chacha = "0.3" siphasher = "1" criterion = "0.7" diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 8d9cb2a..4f2c4e8 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -40,7 +40,7 @@ thread-priority = "1.0" thread-priority = "1.0" [dev-dependencies] -rand = "0.8" +rand = "0.9" rand_chacha = "0.3" siphasher = "1"