clean
This commit is contained in:
parent
250c3a510a
commit
1d227e6ca6
4 changed files with 31 additions and 15 deletions
22
Cargo.toml
22
Cargo.toml
|
|
@ -2,13 +2,23 @@
|
|||
name = "montociel"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
resolver = "2"
|
||||
|
||||
[dependencies]
|
||||
bevy = "0.5"
|
||||
# bevy = {version="0.5", default-features = false}
|
||||
bevy = {version = "0.5", default-features = false, features = ["bevy_winit", "render"]}
|
||||
bevy_webgl2 = "0.5"
|
||||
bevy_rapier2d = "*"
|
||||
rand = "*"
|
||||
rand = "0.8"
|
||||
getrandom = { version = "0.2", features = ["js"] }
|
||||
|
||||
[package.metadata.android]
|
||||
build_targets = ["aarch64-linux-android", "armv7-linux-androideabi"]
|
||||
target_sdk_version = 29
|
||||
min_sdk_version = 16
|
||||
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