Macro-ify benches and unify days list to one file

Also update README with new options.
This commit is contained in:
2025-12-03 01:22:09 -05:00
parent cdc0225ca8
commit 5433430628
5 changed files with 41 additions and 20 deletions

View File

@@ -6,13 +6,17 @@ Rusty and over-engineered edition.
By request of AoC creator, I haven't included the input files (e.g. src/input/day01.txt). Log into the Advent of Code site and save the inputs there to the src/input/ folder.
Then to run: `cargo run`.
To run all days: `cargo run`.
To run a specific day and/or part: `cargo run -- --day 1 --part 1`.
To run in super-fast prod mode: `cargo run --release`.
To run with debug logs enabled: `RUST_LOG=debug cargo run`.
To run the tests against included test input files: `RUST_LOG=debug cargo test -- --no-capture`.
To run all the tests against included test input files: `RUST_LOG=debug cargo test -- --no-capture`.
To run the tests for a specific day and/or part: `RUST_LOG=debug cargo test day01::test::test_part1 -- --no-capture`.
## Benchmarks