Blacksite/Cargo.toml
Rbanh b5e561904c
Some checks failed
CI / Format, lint, test, build (push) Has been cancelled
Upgrade to Bevy 0.19 and harden editor workflows
2026-07-09 23:43:47 -04:00

76 lines
2.0 KiB
TOML

[workspace]
members = [
"crates/game",
"crates/game_hot",
"crates/shared",
"crates/editor",
"crates/protocol",
"crates/sim",
"crates/settings",
"crates/scene",
"xtask",
]
resolver = "2"
[workspace.package]
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
[workspace.dependencies]
avian3d = { version = "0.7", default-features = false, features = [
"3d",
"f32",
"parry-f32",
"bevy_scene",
"collider-from-mesh",
"serialize",
] }
bevy = { version = "0.19", features = ["serialize", "jpeg"] }
bevy_core_pipeline = "0.19"
bevy_solari = "0.19"
bevy_ufbx = "0.18.1-rc.1"
bevy_egui = "0.40"
bevy-inspector-egui = "0.37"
egui_dock = { version = "0.19.1", features = ["serde"] }
egui_phosphor_icons = { version = "0.3.1", default-features = false }
transform-gizmo-bevy = "0.9"
serde = { version = "1", features = ["derive"] }
shared = { path = "crates/shared" }
game = { path = "crates/game" }
game_hot = { path = "crates/game_hot" }
protocol = { path = "crates/protocol" }
sim = { path = "crates/sim" }
settings = { path = "crates/settings" }
scene = { path = "crates/scene" }
[patch.crates-io]
# Local Bevy 0.19 compatibility patch until upstream publishes a matching FBX loader.
bevy_ufbx = { path = "third_party/bevy_ufbx" }
# Atmosphere-aware mesh view bind groups (WYSIWYG editor + transform gizmos).
transform-gizmo-bevy = { path = "third_party/transform-gizmo-bevy" }
# Compile our own crate with light optimizations, but fully optimize dependencies
# (the bevy/wgpu stack) so debug builds are not unbearably slow.
[profile.dev]
opt-level = 1
rpath = true
[profile.dev.package."*"]
opt-level = 3
# Tests keep source line information without retaining full multi-gigabyte Bevy
# debug images or incremental caches. The dev profile remains fully debuggable.
[profile.test]
opt-level = 1
debug = "line-tables-only"
incremental = false
[profile.test.package."*"]
opt-level = 3
# A snappy release profile for shipping builds.
[profile.release]
lto = "thin"
codegen-units = 1