From 5362d2ba30eef2873aa4ed3b9fd2d64778022278 Mon Sep 17 00:00:00 2001 From: aleidk Date: Thu, 13 Feb 2025 11:00:46 -0300 Subject: [PATCH] chore: init cargo project --- .gitignore | 5 +++++ .justfile | 2 +- Cargo.lock | 7 +++++++ Cargo.toml | 6 ++++++ src/main.rs | 3 +++ 5 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 Cargo.lock create mode 100644 Cargo.toml create mode 100644 src/main.rs diff --git a/.gitignore b/.gitignore index 59cc215..56509c6 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,8 @@ # Allow to presever folder structure in excluded folers, should be the last rule !**/.gitkeep + + +# Added by cargo + +/target diff --git a/.justfile b/.justfile index a442fcc..f89f26a 100644 --- a/.justfile +++ b/.justfile @@ -2,4 +2,4 @@ mod repo ".devfiles/justfile" dev: - @echo "Edit the .justfile to setup the dev task!" + cargo run diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..d86c66f --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "compendium" +version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..186e6f8 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "compendium" +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!"); +}