/rust_aoc

🎄"Advent of Code" in Rust 🦀

Primary LanguageRust

Rust Advent of Code Solutions

My solutions for Advent of Code in Rust.

Execution

Run

cargo run -- --year <year> --day <day>

year - 4 digits, i.e. 2015.

day - 2 digits with a or b as suffix, i.e. 01a

Example

cargo run -- --year 2015 --day 01a

Test

Tests can be executed via module path year<year>::day<day>::tests.

Example

cargo test -- year2022::day01::tests