From 5b488b9716d4fcbc24215f03c0ba0fb0cd9bf709 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Tue, 7 May 2024 09:54:11 +0200 Subject: [PATCH] initial commit --- .gitignore | 1 + Cargo.lock | 7 +++++++ Cargo.toml | 8 ++++++++ src/main.rs | 12 ++++++++++++ 4 files changed, 28 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.lock create mode 100644 Cargo.toml create mode 100644 src/main.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..23e5b4f --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "belousovzhabotinsky" +version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..a524653 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "belousovzhabotinsky" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..0dcc72d --- /dev/null +++ b/src/main.rs @@ -0,0 +1,12 @@ +pub const BRIGHTNESS: &str = + "$@B%8&WM#*oahkbdpqwmZO0QLCJUYXzcvunxrjft/\\|()1{}[]?-_+~<>i!lI;:,\"^`'."; +pub const HEIGHT: u32 = 10; +pub const WIDTH: u32 = 10; +pub const K1: u32 = 2; +pub const K2: u32 = 3; +pub const G: u32 = 35; +pub const Q: u32 = 100; + +fn main() { + println!("Hello, world!"); +}