diff --git a/Cargo.lock b/Cargo.lock index e038932063..2aabd2aaf5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1640,18 +1640,6 @@ dependencies = [ "wasm-bindgen", ] -[[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 5.3.0", - "wasip2", -] - [[package]] name = "getrandom" version = "0.4.3" @@ -1661,7 +1649,7 @@ dependencies = [ "cfg-if", "js-sys", "libc", - "r-efi 6.0.0", + "r-efi", "rand_core 0.10.1", "wasm-bindgen", ] @@ -3249,12 +3237,6 @@ dependencies = [ "proc-macro2", ] -[[package]] -name = "r-efi" -version = "5.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" - [[package]] name = "r-efi" version = "6.0.0" @@ -3268,20 +3250,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c" dependencies = [ "libc", - "rand_chacha 0.3.1", + "rand_chacha", "rand_core 0.6.4", ] -[[package]] -name = "rand" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ef1d0d795eb7d84685bca4f72f3649f064e6641543d3a8c415898726a57b41" -dependencies = [ - "rand_chacha 0.9.0", - "rand_core 0.9.5", -] - [[package]] name = "rand" version = "0.10.4" @@ -3303,16 +3275,6 @@ dependencies = [ "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]] name = "rand_core" version = "0.6.4" @@ -3322,15 +3284,6 @@ dependencies = [ "getrandom 0.2.17", ] -[[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 = "rand_core" version = "0.10.1" @@ -5011,7 +4964,7 @@ dependencies = [ "derive_more 2.1.1", "futures", "hyper", - "rand 0.9.5", + "rand 0.10.4", "reqwest", "rustls", "serde", @@ -5187,7 +5140,7 @@ dependencies = [ "chrono", "derive_more 2.1.1", "mockall", - "rand 0.9.5", + "rand 0.10.4", "rstest", "secrecy", "serde", @@ -5436,7 +5389,7 @@ dependencies = [ "mockall", "quickcheck", "quickcheck_macros", - "rand 0.9.5", + "rand 0.10.4", "rstest", "serde", "thiserror 2.0.21", @@ -5479,7 +5432,7 @@ dependencies = [ "futures", "futures-util", "mockall", - "rand 0.9.5", + "rand 0.10.4", "ringbuf", "serde", "socket2", @@ -5834,15 +5787,6 @@ version = "0.11.1+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" -[[package]] -name = "wasip2" -version = "1.0.4+wasi-0.2.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487" -dependencies = [ - "wit-bindgen", -] - [[package]] name = "wasite" version = "0.1.0" @@ -6210,12 +6154,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "wit-bindgen" -version = "0.57.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" - [[package]] name = "workspace-coupling" version = "0.1.0" diff --git a/packages/axum-http-server/Cargo.toml b/packages/axum-http-server/Cargo.toml index faf303d984..f2911836aa 100644 --- a/packages/axum-http-server/Cargo.toml +++ b/packages/axum-http-server/Cargo.toml @@ -51,7 +51,7 @@ socket2 = "0.6.4" thiserror = "2.0.12" [dev-dependencies] -rand = "0.9" +rand = "0.10" serde_bencode = "0" serde_bytes = "0" rustls = { version = "0.23", default-features = false, features = [ "ring" ] } diff --git a/packages/tracker-core/Cargo.toml b/packages/tracker-core/Cargo.toml index cb599182c4..1f4a800590 100644 --- a/packages/tracker-core/Cargo.toml +++ b/packages/tracker-core/Cargo.toml @@ -29,7 +29,7 @@ torrust-info-hash = "=0.2.0" chrono = { version = "0", default-features = false, features = [ "clock" ] } derive_more = { version = "2", features = [ "as_ref", "constructor", "from" ] } mockall = { version = "0", optional = true } -rand = "0.9" +rand = "0.10" serde = { version = "1", features = [ "derive" ] } serde_json = { version = "1", features = [ "preserve_order" ] } sqlx = { version = "0.8", features = [ "macros", "mysql", "postgres", "runtime-tokio-native-tls", "sqlite" ] } diff --git a/packages/udp-core/Cargo.toml b/packages/udp-core/Cargo.toml index 083a038464..151edce5d4 100644 --- a/packages/udp-core/Cargo.toml +++ b/packages/udp-core/Cargo.toml @@ -23,7 +23,7 @@ torrust-tracker-udp-protocol = { version = "0.1.0", path = "../udp-protocol" } blowfish = { version = "0", features = [ "zeroize" ] } cipher = "0.5" futures = "0" -rand = "0.9" +rand = "0.10" serde = "1.0.219" thiserror = "2" tokio = { version = "1", features = [ "macros", "net", "rt-multi-thread", "signal", "sync", "time" ] } diff --git a/packages/udp-server/Cargo.toml b/packages/udp-server/Cargo.toml index e9ff4ec912..45d7bb1e80 100644 --- a/packages/udp-server/Cargo.toml +++ b/packages/udp-server/Cargo.toml @@ -55,7 +55,7 @@ socket2 = "0.6.4" # Pinned to match the http-core and udp-core benches; upgrade all three together. criterion = { version = "0.5.1", features = [ "async_tokio" ] } mockall = "0" -rand = "0.9" +rand = "0.10" tokio = { version = "1", features = [ "test-util" ] } torrust-tracker-primitives = { version = "3.0.0", path = "../primitives", features = [ "testing" ] } torrust-tracker-test-helpers = { version = "3.0.0", path = "../test-helpers" }