diff --git a/crates/bevy_window/Cargo.toml b/crates/bevy_window/Cargo.toml index c974af23651ac..a28c253ef16d8 100644 --- a/crates/bevy_window/Cargo.toml +++ b/crates/bevy_window/Cargo.toml @@ -8,6 +8,10 @@ repository = "https://github.com/bevyengine/bevy" license = "MIT OR Apache-2.0" keywords = ["bevy"] +[features] +default = [] +serialize = ["serde"] + [dependencies] # bevy bevy_app = { path = "../bevy_app", version = "0.9.0-dev" } @@ -17,9 +21,10 @@ bevy_reflect = { path = "../bevy_reflect", version = "0.9.0-dev" } bevy_utils = { path = "../bevy_utils", version = "0.9.0-dev" } # Used for close_on_esc bevy_input = { path = "../bevy_input", version = "0.9.0-dev" } -raw-window-handle = "0.4.2" +raw-window-handle = "0.5.0" # other +serde = { version = "1.0", features = ["derive"], optional = true } [target.'cfg(target_arch = "wasm32")'.dependencies] web-sys = "0.3" diff --git a/crates/bevy_winit/Cargo.toml b/crates/bevy_winit/Cargo.toml index 5c7014ecbfa8a..ccc70e8bf130c 100644 --- a/crates/bevy_winit/Cargo.toml +++ b/crates/bevy_winit/Cargo.toml @@ -24,7 +24,7 @@ bevy_utils = { path = "../bevy_utils", version = "0.9.0-dev" } # other winit = { version = "0.26.0", default-features = false } approx = { version = "0.5.0", default-features = false } -raw-window-handle = "0.4.2" +raw-window-handle = "0.5.0" [target.'cfg(target_arch = "wasm32")'.dependencies] winit = { version = "0.26.0", default-features = false }