From 6b8bb28f07e60031eff201994e9cacd07bad9728 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Rica=20Pais=20da=20Silva?= Date: Fri, 9 May 2025 10:27:58 +0200 Subject: [PATCH] Update to latest encase --- benches/Cargo.toml | 2 +- crates/bevy_color/Cargo.toml | 2 +- crates/bevy_math/Cargo.toml | 7 +++++-- crates/bevy_mikktspace/Cargo.toml | 2 +- crates/bevy_reflect/Cargo.toml | 2 +- crates/bevy_render/Cargo.toml | 2 +- 6 files changed, 10 insertions(+), 7 deletions(-) diff --git a/benches/Cargo.toml b/benches/Cargo.toml index e39e6e1e3c..7b65444258 100644 --- a/benches/Cargo.toml +++ b/benches/Cargo.toml @@ -29,7 +29,7 @@ bevy_platform = { path = "../crates/bevy_platform", default-features = false, fe ] } # Other crates -glam = { version = "0.30" } +glam = { version = "0.30.1" } rand = "0.9" rand_chacha = "0.9" nonmax = { version = "0.5", default-features = false } diff --git a/crates/bevy_color/Cargo.toml b/crates/bevy_color/Cargo.toml index 72f2b9b246..604bb7e1da 100644 --- a/crates/bevy_color/Cargo.toml +++ b/crates/bevy_color/Cargo.toml @@ -21,7 +21,7 @@ serde = { version = "1.0", features = [ thiserror = { version = "2", default-features = false } derive_more = { version = "1", default-features = false, features = ["from"] } wgpu-types = { version = "24", default-features = false, optional = true } -encase = { git = "https://github.com/waywardmonkeys/encase/", branch = "update-deps", default-features = false, optional = true } +encase = { version = "0.11", default-features = false, optional = true } [features] default = ["std", "bevy_reflect", "encase"] diff --git a/crates/bevy_math/Cargo.toml b/crates/bevy_math/Cargo.toml index 5a7c0b7a18..84a09585f1 100644 --- a/crates/bevy_math/Cargo.toml +++ b/crates/bevy_math/Cargo.toml @@ -10,7 +10,7 @@ keywords = ["bevy"] rust-version = "1.85.0" [dependencies] -glam = { version = "0.30", default-features = false, features = ["bytemuck"] } +glam = { version = "0.30.1", default-features = false, features = ["bytemuck"] } thiserror = { version = "2", default-features = false } derive_more = { version = "1", default-features = false, features = [ "from", @@ -37,7 +37,10 @@ rand = "0.9" rand_chacha = "0.9" # Enable the approx feature when testing. bevy_math = { path = ".", default-features = false, features = ["approx"] } -glam = { version = "0.30", default-features = false, features = ["approx"] } +glam = { version = "0.30.1", default-features = false, features = ["approx"] } + +[target.'cfg(target_arch = "wasm32")'.dev-dependencies] +getrandom = { version = "0.3", features = ["wasm_js"] } [features] default = ["std", "rand", "curve"] diff --git a/crates/bevy_mikktspace/Cargo.toml b/crates/bevy_mikktspace/Cargo.toml index b4aa1a5c9b..cc25bb58c5 100644 --- a/crates/bevy_mikktspace/Cargo.toml +++ b/crates/bevy_mikktspace/Cargo.toml @@ -22,7 +22,7 @@ std = ["glam/std"] libm = ["glam/libm", "dep:libm"] [dependencies] -glam = { version = "0.30", default-features = false } +glam = { version = "0.30.1", default-features = false } libm = { version = "0.2", default-features = false, optional = true } [[example]] diff --git a/crates/bevy_reflect/Cargo.toml b/crates/bevy_reflect/Cargo.toml index 9588a9680a..bcfe69076f 100644 --- a/crates/bevy_reflect/Cargo.toml +++ b/crates/bevy_reflect/Cargo.toml @@ -103,7 +103,7 @@ derive_more = { version = "1", default-features = false, features = ["from"] } serde = { version = "1", default-features = false, features = ["alloc"] } assert_type_match = "0.1.1" smallvec = { version = "1.11", default-features = false, optional = true } -glam = { version = "0.30", default-features = false, features = [ +glam = { version = "0.30.1", default-features = false, features = [ "serde", ], optional = true } petgraph = { version = "0.7", features = ["serde-1"], optional = true } diff --git a/crates/bevy_render/Cargo.toml b/crates/bevy_render/Cargo.toml index 1f773d38d4..bbedd92f67 100644 --- a/crates/bevy_render/Cargo.toml +++ b/crates/bevy_render/Cargo.toml @@ -98,7 +98,7 @@ thiserror = { version = "2", default-features = false } derive_more = { version = "1", default-features = false, features = ["from"] } futures-lite = "2.0.1" ktx2 = { version = "0.4.0", optional = true } -encase = { git = "https://github.com/waywardmonkeys/encase/", branch = "update-deps", features = ["glam"] } +encase = { version = "0.11", features = ["glam"] } # For wgpu profiling using tracing. Use `RUST_LOG=info` to also capture the wgpu spans. profiling = { version = "1", features = [ "profile-with-tracing",