My Advent Of Code code.
It contains the solutions to all years from 2015 to 2023 so far.
template
folder has a template to be used with Cargo Generate:
cd YEAR
cargo generate aoc --name dayXX
or better using the aoc_new tool, in YEAR directory:
../aoc_new X
with following in $CARGO_HOME/cargo-generate.toml
:
[favorites.aoc]
description = "Advent of Code template"
path = "FULL_PATH_TO_TEMPLATE"
vcs = "Git"
I try to have all exercises free of any default Clippy warnings.
I also run Clippy in pedantic mode regularly, and add interesting checks to the workspace cargo file.
cargo clippy -- -W clippy::all -W clippy::pedantic -A clippy::uninlined_format_args