Files
another-boids-in-rust/Cargo.toml
Robert Garrett a0292eb789 Add a "mini" build profile
It's like release, but with LTO and LLVM's `-Oz` size optimization.
2025-05-16 18:37:34 -05:00

42 lines
619 B
TOML

[package]
name = "another-boids-in-rust"
version = "0.1.0"
edition = "2021"
[dependencies]
bevy = "0.14.0"
bevy_spatial = "0.9.0"
# Grand-dependency pins
ab_glyph = "0.2.16"
fnv = "1.0.6"
gilrs = "0.10.5"
lazy_static = "1.0.2"
lock_api = "0.4.7"
miniz-sys = "0.1.10"
nonmax = "0.5.1"
rand = "0.8.0"
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 3
[profile.release]
# codegen-units = 1
lto = "fat"
[profile.mini]
inherits = "release"
lto = true
opt-level = "z"
codegen-units = 1
strip = "symbols"
panic = "abort"
[profile.wasm-release]
inherits = "release"
opt-level = "z"
strip = "debuginfo"