From 19c26ff3a05e3af0cb88c5f5ac5799e57dbf021c Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Mon, 30 Nov 2020 15:15:54 -0800 Subject: Initial Rust stuff --- 01/Cargo.toml | 8 ++++++++ 01/src/main.rs | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 01/Cargo.toml create mode 100644 01/src/main.rs (limited to '01') diff --git a/01/Cargo.toml b/01/Cargo.toml new file mode 100644 index 0000000..e9379e7 --- /dev/null +++ b/01/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "advent_01" +version = "0.1.0" +authors = ["Irene Knapp "] +edition = "2018" + +[dependencies] +advent_lib = { path = "../lib" } diff --git a/01/src/main.rs b/01/src/main.rs new file mode 100644 index 0000000..480e6db --- /dev/null +++ b/01/src/main.rs @@ -0,0 +1,8 @@ +use advent_lib::prelude::*; + + +fn main() -> Result<()> { + advent_lib::greeting()?; + + Ok(()) +} -- cgit 1.4.1