From 53e82fb0f7d4755f7aca6efe11dc9cd9fd324e75 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 May 2026 15:55:22 +0000 Subject: [PATCH 1/2] chore(deps): bump rand from 0.9.2 to 0.10.1 Bumps [rand](https://github.com/rust-random/rand) from 0.9.2 to 0.10.1. - [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.2...0.10.1) --- updated-dependencies: - dependency-name: rand dependency-version: 0.10.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 12 ++++++------ src/hyperlight_common/Cargo.toml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 86b87ae74..da66687cb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1470,7 +1470,7 @@ dependencies = [ "flatbuffers", "log", "quickcheck", - "rand 0.9.2", + "rand 0.10.1", "smallvec", "spin 0.11.0", "thiserror", @@ -2197,7 +2197,7 @@ dependencies = [ "ordered-float", "quanta", "radix_trie", - "rand 0.9.2", + "rand 0.9.4", "rand_xoshiro", "rapidhash", "sketches-ddsketch", @@ -2428,7 +2428,7 @@ dependencies = [ "futures-util", "opentelemetry", "percent-encoding", - "rand 0.9.2", + "rand 0.9.4", "thiserror", "tokio", "tokio-stream", @@ -2814,7 +2814,7 @@ dependencies = [ "bit-vec", "bitflags 2.11.1", "num-traits", - "rand 0.9.2", + "rand 0.9.4", "rand_chacha", "rand_xorshift", "regex-syntax", @@ -2905,9 +2905,9 @@ dependencies = [ [[package]] name = "rand" -version = "0.9.2" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" +checksum = "44c5af06bb1b7d3216d91932aed5265164bf384dc89cd6ba05cf59a35f5f76ea" dependencies = [ "rand_chacha", "rand_core 0.9.5", diff --git a/src/hyperlight_common/Cargo.toml b/src/hyperlight_common/Cargo.toml index 423e092e6..4508b690a 100644 --- a/src/hyperlight_common/Cargo.toml +++ b/src/hyperlight_common/Cargo.toml @@ -40,7 +40,7 @@ guest-counter = [] [dev-dependencies] quickcheck = "1.0.3" -rand = "0.9.2" +rand = "0.10.1" [lib] bench = false # see https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options From 34f22b7e20d233e06c6c965655b5df410cfe3a39 Mon Sep 17 00:00:00 2001 From: James Sturtevant Date: Wed, 27 May 2026 20:16:11 -0700 Subject: [PATCH 2/2] fix rand 0.10 RngExt import Signed-off-by: James Sturtevant --- src/hyperlight_common/src/virtq/ring.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hyperlight_common/src/virtq/ring.rs b/src/hyperlight_common/src/virtq/ring.rs index 66791d2f0..383c09c47 100644 --- a/src/hyperlight_common/src/virtq/ring.rs +++ b/src/hyperlight_common/src/virtq/ring.rs @@ -2556,7 +2556,7 @@ pub(crate) mod tests { // Large multi-lap random submission/completion #[test] fn test_random_stress_small() { - use rand::Rng; + use rand::RngExt; use rand::seq::SliceRandom; let ring = make_ring(16);