Files
space-game/Cargo.toml
Amatsugu de8d52ff84 switch to rapier character controller
it already supports custom gravity and custom up direction
2025-06-23 21:20:42 -04:00

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"
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