From b08920c116863b8e28be556f6f32cb5913d172b5 Mon Sep 17 00:00:00 2001 From: ennucore Date: Sun, 31 Jul 2022 19:38:38 +0300 Subject: [PATCH] Init --- .gitignore | 13 +++++++++++++ Cargo.toml | 8 ++++++++ README.md | 4 ++-- src/lib.rs | 8 ++++++++ 4 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 Cargo.toml create mode 100644 src/lib.rs diff --git a/.gitignore b/.gitignore index 3ca43ae..5ac4ffa 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,16 @@ Cargo.lock # MSVC Windows builds of rustc generate these, which store debugging information *.pdb + + +# Added by cargo + +/target + + +# Added by cargo +# +# already existing elements were commented out + +#/target +/Cargo.lock diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..9fb70e4 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "agorata" +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/README.md b/README.md index 21dfb8f..16767d8 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# core +# Agorata Core -The Core of Agorata written in Rust \ No newline at end of file +The Core of Agorata written in Rust diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..1b4a90c --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,8 @@ +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + let result = 2 + 2; + assert_eq!(result, 4); + } +}