moria/Cargo.toml

29 lines
792 B
TOML
Raw Normal View History

2021-09-30 20:31:47 +00:00
[package]
name = "moria"
version = "0.1.0"
2022-07-06 23:12:08 +00:00
edition = "2021"
2021-09-30 20:31:47 +00:00
[dependencies]
bevy = "0.8.0"
bevy_mod_raycast = "0.6.0"
# 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.wasm-release]
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