66 lines
1.7 KiB
TOML
66 lines
1.7 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.6", default-features = false, features = [
|
|
"3d",
|
|
"f32",
|
|
"parry-f32",
|
|
"bevy_scene",
|
|
"collider-from-mesh",
|
|
"serialize",
|
|
] }
|
|
bevy = { version = "0.18", features = ["serialize"] }
|
|
bevy_core_pipeline = "0.18"
|
|
bevy_solari = "0.18"
|
|
bevy_ufbx = "0.18"
|
|
bevy_egui = "0.39"
|
|
bevy-inspector-egui = "0.36"
|
|
egui_dock = { version = "0.18", features = ["serde"] }
|
|
egui_phosphor_icons = "0.2"
|
|
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]
|
|
# Linux surface acquire timeouts can be transient on Wayland/Xwayland drivers.
|
|
bevy_render = { path = "third_party/bevy_render" }
|
|
# 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
|
|
|
|
# A snappy release profile for shipping builds.
|
|
[profile.release]
|
|
lto = "thin"
|
|
codegen-units = 1
|