-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
67 lines (57 loc) · 1.75 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[package]
name = "death-arena"
version = "0.1.0"
edition = "2021"
publish = false
authors = ["Webber Takken <[email protected]>", "Worempie"]
exclude = [".git/", ".idea/", "dist/", "build/", "assets/", "credits/"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rand = "0.8"
crossbeam = "0.8"
thiserror = "1.0"
anyhow = "1.0"
log = "0.4"
env_logger = "0.9"
dotenvy = "0.15.6"
serde = "1.0.147"
bevy = { version = "0.9", default-features = false, features = [
"bevy_asset",
"bevy_winit",
"render",
"png",
"jpeg",
"x11"
] }
ron = { version = "0.7.1" }
serde_json = { version = "1.0.87" }
bevy_ecs = { version = "0.9" }
bevy_kira_audio = { version = "0.13", features = ["ogg", "mp3"] }
bevy_asset_loader = "0.13"
bevy-inspector-egui = "0.13"
bevy_common_assets = { version = "0.4.0", features = ["json"] }
winit = { version = "0.27.4", default-features = false, features = ["x11"] }
image = { version = "0.24", default-features = false }
iyes_loopless = { version = "0.8.0", features = ["bevy-inspector-egui"] }
# tempfix
bevy_rapier2d = { git = "https://github.com/devil-ira/bevy_rapier", branch = "bevy-0.9", features = [ "enhanced-determinism", "wasm-bindgen", "debug-render" ] } # version = "0.18.0",
[dev-dependencies]
# run `cargo test` to enable this
rusty-hook = "0.11"
[build-dependencies]
embed-resource = "1.7.3"
[features]
dev = ["bevy/dynamic"]
[workspace]
resolver = "2" # Important! wgpu/Bevy needs this!
# Enable a small amount of optimization in debug mode
[profile.dev]
opt-level = 1
# Enable high optimizations for dependencies (incl. Bevy), but not for our code:
[profile.dev.package."*"]
opt-level = 3
[profile.dev.package.rapier2d]
opt-level = 3
[profile.release]
lto = true
codegen-units = 1