Skip to content

Commit 5d706a4

Browse files
committed
made bevy_winit conditional dependency for bevy_asset
1 parent 69210b9 commit 5d706a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/bevy_asset/Cargo.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ bevy_log = { path = "../bevy_log", version = "0.9.0" }
2222
bevy_reflect = { path = "../bevy_reflect", version = "0.9.0", features = ["bevy"] }
2323
bevy_tasks = { path = "../bevy_tasks", version = "0.9.0" }
2424
bevy_utils = { path = "../bevy_utils", version = "0.9.0" }
25-
bevy_winit = { path = "../bevy_winit", version = "0.9.0" }
2625

2726
# other
2827
serde = { version = "1", features = ["derive"] }
@@ -40,6 +39,9 @@ web-sys = { version = "0.3", features = ["Request", "Window", "Response"] }
4039
wasm-bindgen-futures = "0.4"
4140
js-sys = "0.3"
4241

42+
[target.'cfg(target_os = "android")'.dependencies]
43+
bevy_winit = { path = "../bevy_winit", version = "0.9.0" }
44+
4345
[dev-dependencies]
4446
futures-lite = "1.4.0"
4547
tempfile = "3.2.0"

0 commit comments

Comments
 (0)