diff --git a/Cargo.lock b/Cargo.lock index 635038e..84a6c96 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -851,7 +851,7 @@ dependencies = [ "indexmap 1.9.3", "nom", "peers", - "rand", + "rand 0.9.3", "serde", "serde_bytes", "sha-1", @@ -1102,7 +1102,7 @@ version = "0.1.0" dependencies = [ "array_utils", "phf", - "rand", + "rand 0.9.3", ] [[package]] @@ -1128,7 +1128,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d" dependencies = [ "phf_shared", - "rand", + "rand 0.8.5", ] [[package]] @@ -1211,8 +1211,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]] @@ -1222,7 +1232,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]] @@ -1234,6 +1254,15 @@ dependencies = [ "getrandom 0.2.15", ] +[[package]] +name = "rand_core" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" +dependencies = [ + "getrandom 0.3.1", +] + [[package]] name = "redox_syscall" version = "0.5.8" @@ -1723,7 +1752,7 @@ dependencies = [ "hyper", "hyper-tls", "nom", - "rand", + "rand 0.9.3", "tokio", "tokio-tungstenite", "url", @@ -1747,7 +1776,7 @@ dependencies = [ "http", "httparse", "log", - "rand", + "rand 0.8.5", "sha1", "thiserror", "url", diff --git a/core/Cargo.toml b/core/Cargo.toml index 0de327f..b77870a 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -13,7 +13,7 @@ indexmap = "1.9.2" peers = { path = "../peers" } futures = "0.3.25" nom = "7.1.3" -rand = "0.8.5" +rand = "0.9.3" thiserror = "1.0.38" tokio = { version = "1.24.2", features = ["io-std", "io-util", "fs", "net", "rt-multi-thread", "parking_lot"] } tokio-stream = "0.1.11" diff --git a/peers/Cargo.toml b/peers/Cargo.toml index 4d31227..2ff4c73 100644 --- a/peers/Cargo.toml +++ b/peers/Cargo.toml @@ -6,4 +6,4 @@ edition = "2021" [dependencies] array_utils = { path = "../array_utils" } phf = { version = "0.11.1", features = ["macros"] } -rand = "0.8.5" +rand = "0.9.3" diff --git a/tracker/Cargo.toml b/tracker/Cargo.toml index 62e292a..efe9f8e 100644 --- a/tracker/Cargo.toml +++ b/tracker/Cargo.toml @@ -9,11 +9,11 @@ form_urlencoded = "1.0.1" hyper = { version = "0.14.23", default-features = false, features = ["client", "http1", "http2", "runtime", "stream", "tcp"] } hyper-tls = "0.5.0" nom = "7.1.3" -rand = "0.8.5" +rand = "0.9.3" tokio = { version = "1.24.2", features = ["io-std", "io-util", "fs", "net", "rt-multi-thread", "parking_lot", "macros"] } tokio-tungstenite = "0.18.0" url = "2.3.1" [dev-dependencies] array_utils = { path = "../array_utils" } -rand = "0.8.5" +rand = "0.9.3"