-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
46 lines (39 loc) · 974 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "bevy_test"
version = "0.1.1"
authors = ["John Peel <[email protected]>"]
edition = "2018"
[features]
default = [
"bevy/bevy_winit",
"bevy/render",
"bevy/png",
]
native = [
"bevy/bevy_wgpu",
]
web = [
"bevy_webgl2",
"futures",
"wasm-bindgen",
"web-sys",
"gloo-events",
"wee_alloc",
"console_error_panic_hook"
]
[dependencies]
bevy = { version = "0.4", default-features = false }
rand = "0.8"
bevy_webgl2 = { version = "0.4", optional = true }
web-sys = { version = "0.3", optional = true }
futures = { version = "0.3", optional = true }
wasm-bindgen = { version = "0.2", optional = true }
gloo-events = { version = "0.1", optional = true }
wee_alloc = { version = "0.4", optional = true }
console_error_panic_hook = { version = "0.1", optional = true }
[target.'cfg(target_os = "linux")'.dependencies]
bevy = { version = "0.4", default-features = false, features = [ "x11" ] }
[profile.release]
debug = 1
lto = true
opt-level = "z"