commit 12d9a6da4cf6bb9403d2742a8db7f037fa0c4ed1 Author: Ray Slakinski Date: Mon Nov 30 13:40:55 2020 -0500 setup for day1 of aoc diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..606f7a0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +# 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 + diff --git a/2020/day_1/Cargo.toml b/2020/day_1/Cargo.toml new file mode 100644 index 0000000..c5bf54b --- /dev/null +++ b/2020/day_1/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "day_1" +version = "0.1.0" +authors = ["Ray Slakinski "] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/2020/day_1/src/main.rs b/2020/day_1/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/2020/day_1/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..e69de29