fix Cargo.toml
This commit is contained in:
parent
1d227e6ca6
commit
98e35b14ca
2 changed files with 5 additions and 12 deletions
11
Cargo.toml
11
Cargo.toml
|
|
@ -5,20 +5,11 @@ edition = "2021"
|
|||
resolver = "2"
|
||||
|
||||
[dependencies]
|
||||
# bevy = {version="0.5", default-features = false}
|
||||
bevy = {version = "0.5", default-features = false, features = ["bevy_winit", "render"]}
|
||||
bevy_webgl2 = "0.5"
|
||||
bevy = {version = "0.5", default-features = false, features = ["bevy_winit", "render", "bevy_gltf", "png"]}
|
||||
bevy_rapier2d = "*"
|
||||
rand = "0.8"
|
||||
getrandom = { version = "0.2", features = ["js"] }
|
||||
|
||||
wasm-bindgen = "0.2"
|
||||
|
||||
# Dependencies for native only.
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
bevy = {version = "0.5", default-features = false, features = ["bevy_wgpu", "bevy_winit", "render", "x11"]}
|
||||
|
||||
# Dependencies for WASM only.
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
bevy = {version = "0.5", default-features = false, features = ["bevy_winit", "render"]}
|
||||
bevy_webgl2 = "0.5"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue