diff --git a/2022/aoc2022/Cargo.lock b/2022/aoc2022/Cargo.lock new file mode 100644 index 0000000..d37200f --- /dev/null +++ b/2022/aoc2022/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "aoc2022" +version = "0.1.0" diff --git a/2022/aoc2022/Cargo.toml b/2022/aoc2022/Cargo.toml new file mode 100644 index 0000000..c1cd145 --- /dev/null +++ b/2022/aoc2022/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "aoc2022" +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/2022/aoc2022/src/main.rs b/2022/aoc2022/src/main.rs new file mode 100644 index 0000000..3585ac1 --- /dev/null +++ b/2022/aoc2022/src/main.rs @@ -0,0 +1,7 @@ +use std::env; + +fn main() { + let args: Vec = env::args().collect(); + dbg!("Command line args: {}", args); + println!("Hello, world!"); +}