From a0249cc71262f9fdef74c22565eeb00d92052b1a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Feb 2026 05:57:39 +0000 Subject: [PATCH 1/2] chore(deps): bump rand from 0.9.1 to 0.10.0 Bumps [rand](https://github.com/rust-random/rand) from 0.9.1 to 0.10.0. - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/rand/compare/rand_core-0.9.1...0.10.0) --- updated-dependencies: - dependency-name: rand dependency-version: 0.10.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 243 ++++++++++++++++++++++++++-- crates/engineioxide-core/Cargo.toml | 2 +- crates/socketioxide/Cargo.toml | 2 +- e2e/heaptrack/Cargo.toml | 2 +- 4 files changed, 234 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5454e495..1742b4e7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -230,7 +230,7 @@ dependencies = [ "indexmap", "js-sys", "once_cell", - "rand 0.9.1", + "rand 0.9.2", "serde", "serde_bytes", "serde_json", @@ -251,7 +251,7 @@ dependencies = [ "hex", "indexmap", "js-sys", - "rand 0.9.1", + "rand 0.9.2", "serde", "serde_bytes", "simdutf8", @@ -327,6 +327,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 0.3.0", + "rand_core 0.10.0", +] + [[package]] name = "ciborium" version = "0.2.2" @@ -508,6 +519,15 @@ dependencies = [ "libc", ] +[[package]] +name = "cpufeatures" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201" +dependencies = [ + "libc", +] + [[package]] name = "crc16" version = "0.4.0" @@ -737,7 +757,7 @@ version = "0.2.0" dependencies = [ "base64", "bytes", - "rand 0.9.1", + "rand 0.10.0", "serde", ] @@ -776,6 +796,12 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "foldhash" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" + [[package]] name = "form_urlencoded" version = "1.2.1" @@ -967,6 +993,20 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "getrandom" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "139ef39800118c7683f2fd3c98c1b23c09ae076556b435f8e9064ae108aaeeec" +dependencies = [ + "cfg-if", + "libc", + "r-efi", + "rand_core 0.10.0", + "wasip2", + "wasip3", +] + [[package]] name = "glob" version = "0.3.3" @@ -988,6 +1028,9 @@ name = "hashbrown" version = "0.15.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5971ac85611da7067dbfcabef3c70ebb5606018acd9e2a3903a0da507521e0d5" +dependencies = [ + "foldhash", +] [[package]] name = "heaptrack" @@ -995,13 +1038,19 @@ version = "0.1.0" dependencies = [ "hyper", "hyper-util", - "rand 0.9.1", + "rand 0.10.0", "serde_json", "socketioxide", "tokio", "tracing-subscriber", ] +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + [[package]] name = "hermit-abi" version = "0.5.1" @@ -1190,6 +1239,12 @@ dependencies = [ "zerovec", ] +[[package]] +name = "id-arena" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954" + [[package]] name = "ident_case" version = "1.0.1" @@ -1225,6 +1280,7 @@ checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e" dependencies = [ "equivalent", "hashbrown", + "serde", ] [[package]] @@ -1269,6 +1325,12 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" +[[package]] +name = "leb128fmt" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" + [[package]] name = "libc" version = "0.2.172" @@ -1470,7 +1532,7 @@ dependencies = [ "mongodb-internal-macros", "pbkdf2", "percent-encoding", - "rand 0.9.1", + "rand 0.9.2", "rustc_version_runtime", "rustls", "rustversion", @@ -1723,14 +1785,25 @@ dependencies = [ [[package]] name = "rand" -version = "0.9.1" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97" +checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" dependencies = [ "rand_chacha 0.9.0", "rand_core 0.9.3", ] +[[package]] +name = "rand" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc266eb313df6c5c09c1c7b1fbe2510961e5bcd3add930c1e31f7ed9da0feff8" +dependencies = [ + "chacha20", + "getrandom 0.4.1", + "rand_core 0.10.0", +] + [[package]] name = "rand_chacha" version = "0.3.1" @@ -1769,6 +1842,12 @@ dependencies = [ "getrandom 0.3.3", ] +[[package]] +name = "rand_core" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c8d0fd677905edcbeedbf2edb6494d676f0e98d54d5cf9bda0b061cb8fb8aba" + [[package]] name = "rayon" version = "1.10.0" @@ -1805,7 +1884,7 @@ dependencies = [ "log", "percent-encoding", "pin-project-lite", - "rand 0.9.1", + "rand 0.9.2", "ryu", "socket2 0.6.0", "tokio", @@ -2118,7 +2197,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" dependencies = [ "cfg-if", - "cpufeatures", + "cpufeatures 0.2.17", "digest", ] @@ -2129,7 +2208,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ "cfg-if", - "cpufeatures", + "cpufeatures 0.2.17", "digest", ] @@ -2217,7 +2296,7 @@ dependencies = [ "hyper", "matchit 0.9.1", "pin-project-lite", - "rand 0.9.1", + "rand 0.10.0", "serde", "serde_json", "socketioxide-core", @@ -2702,7 +2781,7 @@ dependencies = [ "http", "httparse", "log", - "rand 0.9.1", + "rand 0.9.2", "sha1", "thiserror", "utf-8", @@ -2857,6 +2936,24 @@ dependencies = [ "wit-bindgen-rt", ] +[[package]] +name = "wasip2" +version = "1.0.2+wasi-0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9517f9239f02c069db75e65f174b3da828fe5f5b945c4dd26bd25d89c03ebcf5" +dependencies = [ + "wit-bindgen", +] + +[[package]] +name = "wasip3" +version = "0.4.0+wasi-0.3.0-rc-2026-01-06" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5" +dependencies = [ + "wit-bindgen", +] + [[package]] name = "wasm-bindgen" version = "0.2.100" @@ -2915,6 +3012,40 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "wasm-encoder" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319" +dependencies = [ + "leb128fmt", + "wasmparser", +] + +[[package]] +name = "wasm-metadata" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909" +dependencies = [ + "anyhow", + "indexmap", + "wasm-encoder", + "wasmparser", +] + +[[package]] +name = "wasmparser" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe" +dependencies = [ + "bitflags", + "hashbrown", + "indexmap", + "semver", +] + [[package]] name = "web-sys" version = "0.3.77" @@ -3106,6 +3237,26 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" +[[package]] +name = "wit-bindgen" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5" +dependencies = [ + "wit-bindgen-rust-macro", +] + +[[package]] +name = "wit-bindgen-core" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea61de684c3ea68cb082b7a88508a8b27fcc8b797d738bfc99a82facf1d752dc" +dependencies = [ + "anyhow", + "heck", + "wit-parser", +] + [[package]] name = "wit-bindgen-rt" version = "0.39.0" @@ -3115,6 +3266,74 @@ dependencies = [ "bitflags", ] +[[package]] +name = "wit-bindgen-rust" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21" +dependencies = [ + "anyhow", + "heck", + "indexmap", + "prettyplease", + "syn", + "wasm-metadata", + "wit-bindgen-core", + "wit-component", +] + +[[package]] +name = "wit-bindgen-rust-macro" +version = "0.51.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c0f9bfd77e6a48eccf51359e3ae77140a7f50b1e2ebfe62422d8afdaffab17a" +dependencies = [ + "anyhow", + "prettyplease", + "proc-macro2", + "quote", + "syn", + "wit-bindgen-core", + "wit-bindgen-rust", +] + +[[package]] +name = "wit-component" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2" +dependencies = [ + "anyhow", + "bitflags", + "indexmap", + "log", + "serde", + "serde_derive", + "serde_json", + "wasm-encoder", + "wasm-metadata", + "wasmparser", + "wit-parser", +] + +[[package]] +name = "wit-parser" +version = "0.244.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736" +dependencies = [ + "anyhow", + "id-arena", + "indexmap", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", + "wasmparser", +] + [[package]] name = "writeable" version = "0.6.1" diff --git a/crates/engineioxide-core/Cargo.toml b/crates/engineioxide-core/Cargo.toml index 58797493..b58432bf 100644 --- a/crates/engineioxide-core/Cargo.toml +++ b/crates/engineioxide-core/Cargo.toml @@ -13,7 +13,7 @@ license.workspace = true readme = "README.md" [dependencies] -rand = "0.9" +rand = "0.10" base64 = "0.22" serde.workspace = true bytes.workspace = true diff --git a/crates/socketioxide/Cargo.toml b/crates/socketioxide/Cargo.toml index 98e91067..698a8880 100644 --- a/crates/socketioxide/Cargo.toml +++ b/crates/socketioxide/Cargo.toml @@ -63,7 +63,7 @@ criterion.workspace = true http-body-util.workspace = true tokio-stream.workspace = true tokio-util.workspace = true -rand = { version = "0.9", default-features = false } +rand = { version = "0.10", default-features = false } # docs.rs-specific configuration [package.metadata.docs.rs] diff --git a/e2e/heaptrack/Cargo.toml b/e2e/heaptrack/Cargo.toml index effc6698..e86bfa37 100644 --- a/e2e/heaptrack/Cargo.toml +++ b/e2e/heaptrack/Cargo.toml @@ -12,4 +12,4 @@ hyper-util = { workspace = true, features = ["tokio"] } tokio = { workspace = true, features = ["rt-multi-thread", "macros", "signal"] } tracing-subscriber.workspace = true serde_json.workspace = true -rand = "0.9.0" +rand = "0.10.0" From 299ece14e237d7f90d2f259970a91e888b276e91 Mon Sep 17 00:00:00 2001 From: totodore Date: Sun, 15 Feb 2026 14:24:15 +0100 Subject: [PATCH 2/2] fix(deps): fix bump --- Cargo.lock | 4 ++-- crates/engineioxide-core/CHANGELOG.md | 3 +++ crates/engineioxide-core/Cargo.toml | 2 +- crates/engineioxide-core/src/sid.rs | 2 +- crates/socketioxide/CHANGELOG.md | 3 +++ crates/socketioxide/Cargo.toml | 2 +- 6 files changed, 11 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1742b4e7..9f3eb865 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -753,7 +753,7 @@ dependencies = [ [[package]] name = "engineioxide-core" -version = "0.2.0" +version = "0.2.1" dependencies = [ "base64", "bytes", @@ -2282,7 +2282,7 @@ dependencies = [ [[package]] name = "socketioxide" -version = "0.18.1" +version = "0.18.2" dependencies = [ "axum", "bytes", diff --git a/crates/engineioxide-core/CHANGELOG.md b/crates/engineioxide-core/CHANGELOG.md index f32db060..ffd78b0f 100644 --- a/crates/engineioxide-core/CHANGELOG.md +++ b/crates/engineioxide-core/CHANGELOG.md @@ -1,3 +1,6 @@ +# engineioxide-core 0.2.1 +* deps: bump rand from 0.9.1 to 0.10.0 + # engineioxide-core 0.2.0 * MSRV: rust-version is now 1.86 with edition 2024 diff --git a/crates/engineioxide-core/Cargo.toml b/crates/engineioxide-core/Cargo.toml index b58432bf..e616f076 100644 --- a/crates/engineioxide-core/Cargo.toml +++ b/crates/engineioxide-core/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "engineioxide-core" description = "Engineioxide core types and utilities" -version = "0.2.0" +version = "0.2.1" edition.workspace = true rust-version.workspace = true authors.workspace = true diff --git a/crates/engineioxide-core/src/sid.rs b/crates/engineioxide-core/src/sid.rs index 6b24e562..e2e39976 100644 --- a/crates/engineioxide-core/src/sid.rs +++ b/crates/engineioxide-core/src/sid.rs @@ -1,7 +1,7 @@ use std::{fmt, str::FromStr}; use base64::Engine; -use rand::Rng; +use rand::RngExt; /// A 128 bit session id type representing a base64 16 char string #[derive(Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)] diff --git a/crates/socketioxide/CHANGELOG.md b/crates/socketioxide/CHANGELOG.md index ce1a5a1d..c3bd621e 100644 --- a/crates/socketioxide/CHANGELOG.md +++ b/crates/socketioxide/CHANGELOG.md @@ -1,3 +1,6 @@ +# socketioxide 0.18.2 +* deps: bump rand from 0.9.1 to 0.10.0 + # socketioxide 0.18.1 * fix: issue [#627](https://github.com/Totodore/socketioxide/issues/627). In case of namespace connect failure, the socket was not properly removed from the adapter and the namespace. diff --git a/crates/socketioxide/Cargo.toml b/crates/socketioxide/Cargo.toml index 698a8880..79c33a38 100644 --- a/crates/socketioxide/Cargo.toml +++ b/crates/socketioxide/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "socketioxide" description = "Socket IO server implementation in rust as a Tower Service." -version = "0.18.1" +version = "0.18.2" edition.workspace = true rust-version.workspace = true authors.workspace = true