From 9dd48f4ca6cf8409719e24e4000bd8c5a351cec7 Mon Sep 17 00:00:00 2001 From: candifloss Date: Fri, 9 Aug 2024 20:10:05 +0530 Subject: [PATCH] Cargo init --- .gitignore | 5 +++++ Cargo.toml | 6 ++++++ src/main.rs | 3 +++ 3 files changed, 14 insertions(+) create mode 100644 Cargo.toml create mode 100644 src/main.rs diff --git a/.gitignore b/.gitignore index 3ca43ae..193d30e 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,8 @@ Cargo.lock # MSVC Windows builds of rustc generate these, which store debugging information *.pdb + + +# Added by cargo + +/target diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..4f3ff6e --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "snot" +version = "0.1.0" +edition = "2021" + +[dependencies] diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}