Fix prod build

This commit is contained in:
2026-10-04 18:51:29 +02:00
parent a0f6813387
commit f8aa76bb52
2 changed files with 9 additions and 2 deletions
+8 -2
View File
@@ -8,9 +8,10 @@ authors = [""]
[features]
default = ["development", "debug_features", "gamecube-adapter"]
development = ["bevy/dynamic_linking", "bevy/file_watcher", "bevy/embedded_watcher", "bevy/bevy_dev_tools"]
development = ["bevy/dynamic_linking", "bevy/file_watcher", "bevy/embedded_watcher", "hitbox-viewer"]
debug_features = ["bevy/free_camera"]
gamecube-adapter = ["dep:gc-adapter-neo"]
hitbox-viewer = ["bevy/bevy_dev_tools", "dep:egui_extras"]
[dependencies]
bevy = { version = "0.19.1", features = ["asset_processor", "basis-universal", "compressed_image_saver", "bevy_settings"] }
@@ -21,7 +22,7 @@ avian3d = "0.7"
arrayvec = "0.7.8"
bevy-inspector-egui = "0.37.0"
bevy_egui = "0.40.0"
egui_extras = "0.34.3"
egui_extras = { version = "0.34.3", optional = true}
bevy_ggrs = { git = "https://github.com/gschup/bevy_ggrs" }
serde = "1.0.229"
serde_json = "1.0.145"
@@ -51,3 +52,8 @@ strip = "symbols"
[target.'cfg(not(target_os = "windows"))'.dependencies]
gc-adapter-neo = { version = "1.1.1", features = ["libusb"], optional = true }
[[bin]]
name = "hitbox-editor"
path = "src/bin/hitbox-editor.rs"
required-features = ["hitbox-viewer"]