-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
43 lines (35 loc) · 960 Bytes
/
Cargo.toml
File metadata and controls
43 lines (35 loc) · 960 Bytes
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
[package]
name = "chertogon"
version = "0.1.0"
edition = "2021"
description = "3D top-down roguelike arena shooter on Bevy"
license = "MIT OR Apache-2.0"
readme = "README.md"
[dependencies]
bevy = { version = "0.18", features = ["jpeg"] }
avian3d = { version = "0.6.0-rc.1", features = ["f32"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
bevy-inspector-egui = "0.36"
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.3", features = ["wasm_js"] }
web-sys = { version = "0.3", features = ["Window", "Navigator"] }
wasm-bindgen = "0.2"
[features]
default = []
native = ["bevy/dynamic_linking"]
webgpu = ["bevy/webgpu"]
remote_debug = ["bevy/bevy_remote"]
tracy = ["bevy/trace_tracy"]
[profile.dev]
opt-level = 2
[profile.dev.package."*"]
opt-level = 3
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
[profile.wasm-release]
inherits = "release"
opt-level = "z"
strip = "debuginfo"
panic = "abort"