Skip to content

Commit c402983

Browse files
build: Bump rand from 0.8.5 to 0.9.0
Bumps [rand](https://github.com/rust-random/rand) from 0.8.5 to 0.9.0. - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md) - [Commits](rust-random/rand@0.8.5...0.9.0) --- updated-dependencies: - dependency-name: rand dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
1 parent 441a393 commit c402983

File tree

3 files changed

+57
-12
lines changed

3 files changed

+57
-12
lines changed

Cargo.lock

Lines changed: 55 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ fdt = "0.1.5"
5050

5151
[dev-dependencies]
5252
dirs = "6.0.0"
53-
rand = "0.8.5"
53+
rand = "0.9.0"
5454
ssh2 = { version = "0.9.4", features = ["vendored-openssl"] }
5555
tempfile = "3.16.0"

src/integration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ mod tests {
2929
impl GuestNetworkConfig {
3030
fn new(counter: u8) -> Self {
3131
// Generate a fully random MAC
32-
let mut m = rand::thread_rng().gen::<[u8; 6]>();
32+
let mut m = rand::rng().random::<[u8; 6]>();
3333

3434
// Set the first byte to make the OUI a locally administered OUI
3535
m[0] = 0x2e;

0 commit comments

Comments
 (0)