Skip to content

Commit

Permalink
made bevy_winit conditional dependency for bevy_asset
Browse files Browse the repository at this point in the history
  • Loading branch information
slyedoc committed Dec 6, 2022
1 parent 69210b9 commit 5d706a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/bevy_asset/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ bevy_log = { path = "../bevy_log", version = "0.9.0" }
bevy_reflect = { path = "../bevy_reflect", version = "0.9.0", features = ["bevy"] }
bevy_tasks = { path = "../bevy_tasks", version = "0.9.0" }
bevy_utils = { path = "../bevy_utils", version = "0.9.0" }
bevy_winit = { path = "../bevy_winit", version = "0.9.0" }

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

[target.'cfg(target_os = "android")'.dependencies]
bevy_winit = { path = "../bevy_winit", version = "0.9.0" }

[dev-dependencies]
futures-lite = "1.4.0"
tempfile = "3.2.0"
Expand Down

0 comments on commit 5d706a4

Please sign in to comment.