commit 4ecda7885afdb9b10aa19c907bd65e01ee63dd91 Author: unintendedfraud Date: Tue Oct 3 16:49:19 2023 +0200 setup diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8a771ce --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +**/debug/ +**/target/ + +**/Cargo.lock + +**/*.rs.bk + +**/*.pdb diff --git a/hello-world/Cargo.toml b/hello-world/Cargo.toml new file mode 100644 index 0000000..4b9c151 --- /dev/null +++ b/hello-world/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "hello-world" +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/hello-world/src/main.rs b/hello-world/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/hello-world/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..2fa2bcc --- /dev/null +++ b/readme.md @@ -0,0 +1,3 @@ +# Hands on rust + +Following the book