From 2a3e367b8299496f20c3beaf6884a6d6c3526275 Mon Sep 17 00:00:00 2001 From: andriyDev Date: Sun, 18 Feb 2024 16:37:34 -0800 Subject: [PATCH] Add the serde feature to bitflags for bevy_render. (#11966) # Objective Fixes #11964. ## Solution Adds the `serde` feature to `bitflags` for `bevy_render`. This makes `bevy_render` compile correctly when used alone. --- ## Changelog - Fixed an issue where depending on `bevy_render` alone would fail to compile. --- crates/bevy_render/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_render/Cargo.toml b/crates/bevy_render/Cargo.toml index 7bbd06208e..c1bb39ba5b 100644 --- a/crates/bevy_render/Cargo.toml +++ b/crates/bevy_render/Cargo.toml @@ -74,7 +74,7 @@ wgpu = { version = "0.19.1", default-features = false, features = [ ] } naga = { version = "0.19", features = ["wgsl-in"] } serde = { version = "1", features = ["derive"] } -bitflags = "2.3" +bitflags = { version = "2.3", features = ["serde"] } bytemuck = { version = "1.5", features = ["derive"] } downcast-rs = "1.2.0" thread_local = "1.1"