diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e420ee4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +target/* diff --git a/class/my-project/.gitignore b/class/my-project/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/class/my-project/.gitignore @@ -0,0 +1 @@ +/target diff --git a/class/my-project/Cargo.lock b/class/my-project/Cargo.lock new file mode 100644 index 0000000..996477f --- /dev/null +++ b/class/my-project/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "my-project" +version = "0.1.0" diff --git a/class/my-project/Cargo.toml b/class/my-project/Cargo.toml new file mode 100644 index 0000000..aebde11 --- /dev/null +++ b/class/my-project/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "my-project" +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/class/my-project/src/main.rs b/class/my-project/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/class/my-project/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} diff --git a/notes b/notes new file mode 100644 index 0000000..3396468 --- /dev/null +++ b/notes @@ -0,0 +1,4 @@ +# create a project without creating a git repo +cargo new --vcs=none my-new-project + +