Files
space-game/Cargo.toml
2025-07-05 16:24:42 -04:00

59 lines
1.4 KiB
TOML

[package]
name = "space-game"
version = "0.1.0"
edition = "2024"
[dependencies]
# avian3d = { version = "0.3.0", features = [] }
bevy = { version = "0.16.1", features = [] }
# bevy_rapier3d = { version = "0.29.0", features = ["simd-stable", "parallel"] }
bevy-inspector-egui = "0.31.0"
bevy_asset_loader = "0.23.0"
bevy_rapier3d = "0.30.0"
[features]
default = ["dev"]
dev = [
"bevy/bevy_dev_tools",
"bevy/bevy_ui_debug",
"bevy/track_location",
"bevy/file_watcher",
"bevy/embedded_watcher",
"dev-viz"
]
dev-viz = []
dev-phys = []
[lints.clippy]
# Bevy supplies arguments to systems via dependency injection, so it's natural for systems to
# request more than 7 arguments, which would undesirably trigger this lint.
too_many_arguments = "allow"
# Queries may access many components, which would undesirably trigger this lint.
type_complexity = "allow"
# Make sure macros use their standard braces, such as `[]` for `bevy_ecs::children!`.
nonstandard_macro_braces = "warn"
needless_return = "allow"
# 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.release]
codegen-units = 1
lto = "thin"
# Optimize for build time in CI.
[profile.ci]
inherits = "dev"
opt-level = 0
debug = "line-tables-only"
codegen-units = 4
[profile.ci.package."*"]
opt-level = 0