-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
36 lines (29 loc) · 1.07 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
[package]
name = "legacy_game"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bevy = "0.9.1"
bevy-inspector-egui = "0.17.0"
bevy_ggrs = { version = "0.11", features = ["wasm-bindgen"] }
bevy_pancam = { version = "0.7.0", features = [ "bevy_egui", "bevy-inspector-egui"]}
bevy_prototype_debug_lines = "0.9.0"
bevy_web_asset = "0.5.0"
bytemuck = "1.13.0"
matchbox_socket = { version = "0.4", features = ["ggrs-socket"] }
[profile.wasm-local]
inherits = "release"
debug-assertions = true
[profile.wasm-release]
# Use release profile as default values
inherits = "release"
# Optimize with size in mind, also try "s", sometimes it is better.
# This doesn't increase compilation times compared to -O3, great improvements
opt-level = "z"
# Do a second optimization pass removing duplicate or unused code from dependencies.
# Slows compile times, marginal improvements
lto = "fat"
# When building crates, optimize larger chunks at a time
# Slows compile times, marginal improvements
codegen-units = 1