From 12d9a6da4cf6bb9403d2742a8db7f037fa0c4ed1 Mon Sep 17 00:00:00 2001 From: Ray Slakinski Date: Mon, 30 Nov 2020 13:40:55 -0500 Subject: [PATCH] setup for day1 of aoc --- .gitignore | 12 ++++++++++++ 2020/day_1/Cargo.toml | 9 +++++++++ 2020/day_1/src/main.rs | 3 +++ README.md | 0 4 files changed, 24 insertions(+) create mode 100644 .gitignore create mode 100644 2020/day_1/Cargo.toml create mode 100644 2020/day_1/src/main.rs create mode 100644 README.md 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