46 lines
1.2 KiB
TOML
46 lines
1.2 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"
|
|
|
|
[features]
|
|
default = ["dev"]
|
|
dev = [
|
|
"avian3d/debug-plugin",
|
|
"bevy/bevy_dev_tools",
|
|
"bevy/bevy_ui_debug",
|
|
"bevy/track_location",
|
|
"bevy/file_watcher",
|
|
"bevy/embedded_watcher",
|
|
"dev-viz"
|
|
]
|
|
dev-viz = []
|
|
dev-phsy = []
|
|
|
|
[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
|