move bevy feature "file_watcher" to dev-only mode

This commit is contained in:
yuni 2024-04-03 18:41:39 +02:00
parent 9c7cd6ddc5
commit 155c9abd1f

View file

@ -11,13 +11,13 @@ rust-version = "1.76.0"
[dependencies]
regex = "1"
bevy = { version = "0.13.1", default-features = false, features = ["jpeg", "bevy_asset", "bevy_audio", "bevy_scene", "bevy_winit", "bevy_core_pipeline", "bevy_pbr", "bevy_gltf", "bevy_render", "bevy_text", "bevy_ui", "file_watcher", "multi-threaded", "png", "vorbis", "x11", "tonemapping_luts"]}
bevy = { version = "0.13.1", default-features = false, features = ["jpeg", "bevy_asset", "bevy_audio", "bevy_scene", "bevy_winit", "bevy_core_pipeline", "bevy_pbr", "bevy_gltf", "bevy_render", "bevy_text", "bevy_ui", "multi-threaded", "png", "vorbis", "x11", "tonemapping_luts"]}
bevy_xpbd_3d = { version = "0.4.2", default-features = false, features = ["3d", "f64", "parry-f64", "parallel", "async-collider"] }
bevy_embedded_assets = "0.10.2"
fastrand = "2.0.2"
[features]
dev = ["bevy/dynamic_linking"]
dev = ["bevy/dynamic_linking", "bevy/file_watcher"]
[profile.dev]
opt-level = 1