-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
29 lines (24 loc) · 829 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[package]
name = "ldjam49"
version = "0.1.0"
edition = "2018"
resolver = "2"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
# bevy = { version = "0.5.0" }
# bevy = { version = "0.5.0", features = ["dynamic"] }
bevy_rapier2d = "0.11.0"
rand = "0.8.4"
getrandom = { version = "0.2", features = ["js"] }
wasm-bindgen = "0.2"
console_error_panic_hook = "0.1"
# 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", "png"]}
# Dependencies for WASM only.
[target.'cfg(target_arch = "wasm32")'.dependencies]
bevy = {version = "0.5", default-features = false, features = ["bevy_winit", "render", "png"]}
bevy_webgl2 = "0.5"
[package.metadata.wasm-pack.profile.release]
wasm-opt = false