diff --git a/Cargo.lock b/Cargo.lock index 52929d0..e0e0158 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -479,6 +479,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", + "rand_core 0.10.1", +] + [[package]] name = "chrono" version = "0.4.45" @@ -571,6 +582,15 @@ version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" +[[package]] +name = "cpufeatures" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201" +dependencies = [ + "libc", +] + [[package]] name = "criterion" version = "0.8.2" @@ -898,7 +918,7 @@ name = "gb-optimizer" version = "0.1.0" dependencies = [ "chrono", - "rand 0.9.4", + "rand 0.10.1", "serde", "serde_json", "uuid", @@ -959,7 +979,7 @@ version = "0.1.0" dependencies = [ "chrono", "gb-data", - "rand 0.9.4", + "rand 0.10.1", "rust_decimal", "rust_decimal_macros", "serde", @@ -1005,6 +1025,7 @@ dependencies = [ "cfg-if", "libc", "r-efi", + "rand_core 0.10.1", "wasip2", "wasip3", ] @@ -1918,6 +1939,17 @@ dependencies = [ "rand_core 0.9.5", ] +[[package]] +name = "rand" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2e8e8bcc7961af1fdac401278c6a831614941f6164ee3bf4ce61b7edb162207" +dependencies = [ + "chacha20", + "getrandom 0.4.1", + "rand_core 0.10.1", +] + [[package]] name = "rand_chacha" version = "0.3.1" @@ -1956,6 +1988,12 @@ dependencies = [ "getrandom 0.3.4", ] +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + [[package]] name = "rayon" version = "1.12.0" diff --git a/Cargo.toml b/Cargo.toml index bbbf958..a93b223 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,7 +29,7 @@ parking_lot = "0.12" crossbeam-channel = "0.5" num-traits = "0.2" rust_decimal = { version = "1.33", features = ["serde"] } -rand = "0.9" +rand = "0.10" pyo3 = { version = "0.29", features = ["extension-module"] } [profile.dev]