Проектная работа
пример с состояниями
This commit is contained in:
+11
-2
@@ -5,8 +5,7 @@ version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
bevy = { version = "0.18", default-features = false, features = ["2d_bevy_render", "bevy_log", "bevy_winit", "bevy_text", "bevy_ui", "debug"] }
|
||||
# bevy = { version = "0.18" }
|
||||
bevy = "0.18"
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = "0.3"
|
||||
rand = "0.10"
|
||||
@@ -14,6 +13,13 @@ rand = "0.10"
|
||||
# for examples
|
||||
rand_chacha = "0.10"
|
||||
|
||||
[profile.dev]
|
||||
opt-level = 0
|
||||
|
||||
[profile.dev.package."*"]
|
||||
opt-level = 3
|
||||
debug = false
|
||||
|
||||
[profile.release]
|
||||
opt-level = "z"
|
||||
lto = "fat"
|
||||
@@ -23,3 +29,6 @@ panic = "abort"
|
||||
overflow-checks = false
|
||||
incremental = false
|
||||
strip = "symbols"
|
||||
|
||||
[features]
|
||||
default = ["bevy/dynamic_linking"]
|
||||
|
||||
Reference in New Issue
Block a user