From fa867f1ca375a49078f89bf1ee4fd1a875d27e14 Mon Sep 17 00:00:00 2001 From: Spacebot Date: Mon, 6 Jul 2026 12:32:41 +0000 Subject: [PATCH] Update Rust crate rc4 to 0.2.0 --- Cargo.lock | 40 +++++++++++----------------------------- prudpv0/Cargo.toml | 2 +- prudpv1/Cargo.toml | 2 +- rnex-core/Cargo.toml | 2 +- 4 files changed, 14 insertions(+), 32 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9946174..683a38f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,7 +14,7 @@ version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f1fc76eaeac4c9164506c466d4ffdd8ec9d0c5bf57ee97177c4d8eceb3a0e138" dependencies = [ - "cipher 0.5.1", + "cipher", "cpubits", "cpufeatures 0.3.0", ] @@ -723,24 +723,15 @@ dependencies = [ "windows-link", ] -[[package]] -name = "cipher" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" -dependencies = [ - "crypto-common 0.1.7", - "inout 0.1.4", -] - [[package]] name = "cipher" version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e34d8227fe1ba289043aeb13792056ff80fd6de1a9f49137a5f499de8e8c78ea" dependencies = [ + "block-buffer 0.12.0", "crypto-common 0.2.1", - "inout 0.2.2", + "inout", ] [[package]] @@ -1111,7 +1102,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -1721,7 +1712,7 @@ dependencies = [ "libc", "percent-encoding", "pin-project-lite", - "socket2 0.5.10", + "socket2 0.6.3", "tokio", "tower-service", "tracing", @@ -1872,15 +1863,6 @@ dependencies = [ "serde_core", ] -[[package]] -name = "inout" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" -dependencies = [ - "generic-array", -] - [[package]] name = "inout" version = "0.2.2" @@ -2664,11 +2646,11 @@ checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" [[package]] name = "rc4" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f1256e23efe6097f27aa82d6ca6889361c001586ae0f6917cbad072f05eb275" +checksum = "840038b674daa9f7a7957440d937951d15c0143c056e631e529141fd780e0c92" dependencies = [ - "cipher 0.4.4", + "cipher", ] [[package]] @@ -2828,7 +2810,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -3655,7 +3637,7 @@ dependencies = [ "getrandom 0.4.2", "once_cell", "rustix", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] @@ -4294,7 +4276,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.61.2", ] [[package]] diff --git a/prudpv0/Cargo.toml b/prudpv0/Cargo.toml index 447436d..30542e3 100644 --- a/prudpv0/Cargo.toml +++ b/prudpv0/Cargo.toml @@ -8,7 +8,7 @@ rnex-core = { path = "../rnex-core", version = "0.1.1" } tokio = { version = "1.47.0", features = ["full"] } bytemuck = { version = "1.23.1", features = ["derive"] } typenum = "1.18.0" -rc4 = "0.1.0" +rc4 = "0.2.0" log = "0.4.25" cfg-if = "1.0.4" proxy-common = {path = "../proxy-common"} diff --git a/prudpv1/Cargo.toml b/prudpv1/Cargo.toml index b8346bf..31e3738 100644 --- a/prudpv1/Cargo.toml +++ b/prudpv1/Cargo.toml @@ -8,7 +8,7 @@ bytemuck = { version = "1.23.1", features = ["derive"] } tokio = { version = "1.47.0", features = ["full"] } hmac = "0.12.1" md-5 = "^0.10.6" -rc4 = "0.1.0" +rc4 = "0.2.0" v-byte-helpers = { git = "https://github.com/RusticMaple/VByteMacros", version = "0.1.1" } thiserror = "2.0.12" log = "0.4.27" diff --git a/rnex-core/Cargo.toml b/rnex-core/Cargo.toml index 66c2fc3..c2bda1d 100644 --- a/rnex-core/Cargo.toml +++ b/rnex-core/Cargo.toml @@ -7,7 +7,7 @@ edition = "2024" bytemuck = { version = "1.21.0", features = ["derive"] } dotenv = "0.15.0" once_cell = "1.20.2" -rc4 = "0.1.0" +rc4 = "0.2.0" thiserror = "2.0.11" v-byte-helpers = { git = "https://github.com/RusticMaple/VByteMacros", version = "0.1.1" } simplelog = "0.12.2"