Fix prod build
This commit is contained in:
+8
-2
@@ -8,9 +8,10 @@ authors = [""]
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["development", "debug_features", "gamecube-adapter"]
|
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"]
|
debug_features = ["bevy/free_camera"]
|
||||||
gamecube-adapter = ["dep:gc-adapter-neo"]
|
gamecube-adapter = ["dep:gc-adapter-neo"]
|
||||||
|
hitbox-viewer = ["bevy/bevy_dev_tools", "dep:egui_extras"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bevy = { version = "0.19.1", features = ["asset_processor", "basis-universal", "compressed_image_saver", "bevy_settings"] }
|
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"
|
arrayvec = "0.7.8"
|
||||||
bevy-inspector-egui = "0.37.0"
|
bevy-inspector-egui = "0.37.0"
|
||||||
bevy_egui = "0.40.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" }
|
bevy_ggrs = { git = "https://github.com/gschup/bevy_ggrs" }
|
||||||
serde = "1.0.229"
|
serde = "1.0.229"
|
||||||
serde_json = "1.0.145"
|
serde_json = "1.0.145"
|
||||||
@@ -51,3 +52,8 @@ strip = "symbols"
|
|||||||
|
|
||||||
[target.'cfg(not(target_os = "windows"))'.dependencies]
|
[target.'cfg(not(target_os = "windows"))'.dependencies]
|
||||||
gc-adapter-neo = { version = "1.1.1", features = ["libusb"], optional = true }
|
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"]
|
||||||
@@ -48,6 +48,7 @@ pub mod fighter;
|
|||||||
pub mod filled_gizmos;
|
pub mod filled_gizmos;
|
||||||
pub mod game_settings;
|
pub mod game_settings;
|
||||||
pub mod input;
|
pub mod input;
|
||||||
|
#[cfg(feature = "hitbox-viewer")]
|
||||||
pub mod hitbox_viewer;
|
pub mod hitbox_viewer;
|
||||||
pub mod match_loading;
|
pub mod match_loading;
|
||||||
pub mod match_runtime;
|
pub mod match_runtime;
|
||||||
|
|||||||
Reference in New Issue
Block a user