diff --git a/Cargo.toml b/Cargo.toml index 8bb16b741db86..7191c349dc79e 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.1" rand_chacha = "0.3.1" ron = "0.8.0" flate2 = "1.0" diff --git a/benches/Cargo.toml b/benches/Cargo.toml index 3f547d80d984b..16ff21237980f 100644 --- a/benches/Cargo.toml +++ b/benches/Cargo.toml @@ -30,7 +30,7 @@ bevy_platform = { path = "../crates/bevy_platform", default-features = false, fe # 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 97cdcee0824b7..e49c6bf52e8ff 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"] }