diff options
author | Irene Knapp <ireneista@gmail.com> | 2020-11-30 15:15:54 -0800 |
---|---|---|
committer | Irene Knapp <ireneista@gmail.com> | 2020-11-30 15:15:54 -0800 |
commit | 19c26ff3a05e3af0cb88c5f5ac5799e57dbf021c (patch) | |
tree | 3fdb62527b9c8f0f0756d484bfc43feb70d99da8 /01 | |
parent | 94f1a4f1245f69359aa6b1136742a0bbac3ae249 (diff) |
Initial Rust stuff
Diffstat (limited to '01')
-rw-r--r-- | 01/Cargo.toml | 8 | ||||
-rw-r--r-- | 01/src/main.rs | 8 |
2 files changed, 16 insertions, 0 deletions
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 <ireneista@gmail.com>"] +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(()) +} |