From 0d04d6af5eb8097322db917b53a033cb4d02d5d4 Mon Sep 17 00:00:00 2001 From: Nixon Enraght-Moony Date: Thu, 30 Jun 2022 15:31:11 +0100 Subject: [PATCH] Cargo init --- .gitignore | 17 +---------------- Cargo.toml | 8 ++++++++ src/main.rs | 3 +++ 3 files changed, 12 insertions(+), 16 deletions(-) create mode 100644 Cargo.toml create mode 100644 src/main.rs diff --git a/.gitignore b/.gitignore index 3ca43ae..ea8c4bf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,16 +1 @@ -# ---> Rust -# Generated by Cargo -# will have compiled files and executables -debug/ -target/ - -# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries -# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html -Cargo.lock - -# These are backup files generated by rustfmt -**/*.rs.bk - -# MSVC Windows builds of rustc generate these, which store debugging information -*.pdb - +/target diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..ab382e8 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "gttg" +version = "0.1.0" +edition = "2021" +license = "0.0.0" +repository = "https://gitea.treehouse.systems/aDot/gttg" + +[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!"); +}