From 801ca56d8ba6a089cb1397c8011c33298cfcd396 Mon Sep 17 00:00:00 2001 From: Alexander Baranov Date: Tue, 26 May 2026 11:43:26 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=BE=D0=B5=D0=BA=D1=82=D0=BD?= =?UTF-8?q?=D0=B0=D1=8F=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=20-=20?= =?UTF-8?q?=D0=98=D0=B3=D1=80=D0=B0=20"=D0=97=D0=BC=D0=B5=D0=B9=D0=BA?= =?UTF-8?q?=D0=B0"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Создание нового проекта --- snake-game/.gitignore | 2 ++ snake-game/Cargo.toml | 18 ++++++++++++++++++ snake-game/src/main.rs | 3 +++ 3 files changed, 23 insertions(+) create mode 100644 snake-game/.gitignore create mode 100644 snake-game/Cargo.toml create mode 100644 snake-game/src/main.rs diff --git a/snake-game/.gitignore b/snake-game/.gitignore new file mode 100644 index 0000000..e9e2199 --- /dev/null +++ b/snake-game/.gitignore @@ -0,0 +1,2 @@ +/target/ +/Cargo.lock diff --git a/snake-game/Cargo.toml b/snake-game/Cargo.toml new file mode 100644 index 0000000..03c9a77 --- /dev/null +++ b/snake-game/Cargo.toml @@ -0,0 +1,18 @@ +[package] +name = "snake-game" +version = "0.1.0" +edition = "2024" + +[dependencies] +bevy = "0.18" +tracing = "0.1" + +[profile.release] +opt-level = "z" +lto = "fat" +codegen-units = 1 +debug-assertions = false +panic = "abort" +overflow-checks = false +incremental = false +strip = "symbols" diff --git a/snake-game/src/main.rs b/snake-game/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/snake-game/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}