Files
another-boids-in-rust/Cargo.toml
Robert Garrett c2cf100c05 Flocking params as a resource & egui-inspector
The birdoid flocking parameters are now a resource named
`FlockingParameters`. Adjustments can be made using the Egui inspector
widget, although I plan to make a custom UI in the future.
2025-12-21 16:33:04 -06:00

55 lines
1.0 KiB
TOML

[package]
name = "another-boids-in-rust"
version = "0.7.0-dev1"
edition = "2024"
license = "AGPL-3.0-only"
[dependencies]
bevy = "0.16.0"
bevy-inspector-egui = "0.32"
# 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"
# Use regular bevy_spatial on non-WASM builds
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
bevy_spatial = "0.11.0"
# Use bevy_spatial *without* the kdtree_rayon feature when building for WASM.
[target.'cfg(target_arch = "wasm32")'.dependencies.bevy_spatial]
version = "0.11.0"
default-features = false
features = ["kdtree"]
[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]
codegen-units = 1
inherits = "release"
lto = "fat"
opt-level = "z"
strip = "symbols"