My solutions for Advent of Code.
Ensure that you have cargo installed (see, e.g., rustup).
Run the problems of the specified days of the latest year
cargo run --release -- 2 4 6or a specific year
cargo run --release -p aoc2021 -- 23 25or of all days of the latest year
cargo run --releaseRun the tests for a specific day and yeat with
cargo test -p aoc2022 day02or run all tests with
cargo test --allEvery day can also be benchmarked with
cargo bench -p aoc2023 day02or benchmark all days (which will take a while) with
cargo bench --all