My solutions for Advent of Code in Rust.
cargo run -- --year <year> --day <day>
year
- 4 digits, i.e. 2015.
day
- 2 digits with a or b as suffix, i.e. 01a
cargo run -- --year 2015 --day 01a
Tests can be executed via module path year<year>::day<day>::tests
.
cargo test -- year2022::day01::tests