From 2cf722fbec715cb9efce0738528896c932b70415 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 Mar 2025 19:25:29 +0000 Subject: [PATCH] Update rand requirement from 0.8.0 to 0.9.0 Updates the requirements on [rand](https://github.com/rust-random/rand) to permit the latest version. - [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/0.8.0...0.9.0) --- updated-dependencies: - dependency-name: rand dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Cargo.toml | 2 +- benches/Cargo.toml | 2 +- crates/bevy_ecs/Cargo.toml | 2 +- crates/bevy_math/Cargo.toml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index af2d9d356cb59..42c8a047c6d97 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -546,7 +546,7 @@ tracing = { version = "0.1", default-features = false, optional = true } bevy_dylib = { path = "crates/bevy_dylib", version = "0.16.0-dev", default-features = false, optional = true } [dev-dependencies] -rand = "0.8.0" +rand = "0.9.0" rand_chacha = "0.3.1" ron = "0.8.0" flate2 = "1.0" diff --git a/benches/Cargo.toml b/benches/Cargo.toml index f5faeec237fc3..9b270dc48bf4b 100644 --- a/benches/Cargo.toml +++ b/benches/Cargo.toml @@ -30,7 +30,7 @@ bevy_platform_support = { path = "../crates/bevy_platform_support", default-feat # Other crates glam = "0.29" -rand = "0.8" +rand = "0.9" rand_chacha = "0.3" # Make `bevy_render` compile on Linux with x11 windowing. x11 vs. Wayland does not matter here diff --git a/crates/bevy_ecs/Cargo.toml b/crates/bevy_ecs/Cargo.toml index c5350dd91ad17..2b4b64aa60150 100644 --- a/crates/bevy_ecs/Cargo.toml +++ b/crates/bevy_ecs/Cargo.toml @@ -139,7 +139,7 @@ concurrent-queue = { version = "2.5.0", default-features = false, features = [ ] } [dev-dependencies] -rand = "0.8" +rand = "0.9" static_assertions = "1.1.0" serde_test = "1.0" diff --git a/crates/bevy_math/Cargo.toml b/crates/bevy_math/Cargo.toml index 7aae1ec74be45..e116c99248b94 100644 --- a/crates/bevy_math/Cargo.toml +++ b/crates/bevy_math/Cargo.toml @@ -22,7 +22,7 @@ serde = { version = "1", default-features = false, features = [ ], optional = true } libm = { version = "0.2", optional = true } approx = { version = "0.5", default-features = false, optional = true } -rand = { version = "0.8", default-features = false, optional = true } +rand = { version = "0.9", default-features = false, optional = true } rand_distr = { version = "0.4.3", optional = true } smallvec = { version = "1.11" } bevy_reflect = { path = "../bevy_reflect", version = "0.16.0-dev", default-features = false, features = [ @@ -33,7 +33,7 @@ variadics_please = "1.1" [dev-dependencies] approx = "0.5" # Supply rngs for examples and tests -rand = "0.8" +rand = "0.9" rand_chacha = "0.3" # Enable the approx feature when testing. bevy_math = { path = ".", default-features = false, features = ["approx"] }