Проектная работа - RELEASE

This commit is contained in:
6 changed files with 1584 additions and 34 deletions
+12 -2
View File
@@ -1,11 +1,11 @@
[package]
name = "snake-game"
description = "Rust implementation of Snake Game"
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"
@@ -13,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"
@@ -22,3 +29,6 @@ panic = "abort"
overflow-checks = false
incremental = false
strip = "symbols"
[features]
default = ["bevy/dynamic_linking"]