Matej Janezic 000001602c | ||
---|---|---|
.cargo | ||
.github/workflows | ||
src | ||
.env.example | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
README.md |
README.md
Advent-of-Code {YEAR}
This is a dumbed down version of fspoettel/advent-of-code-rust with some extra features
Project overview
Project structure
src/
:bin/
:<day>.rs
: solution files*.rs
: convenience scripts
inputs/
: this directory is gitignored, input files go heretest_inputs/
: example files go here; you can push this as test are run in cihelpers.rs
: helper functions you can reuse in solution files go herelib.rs
: contains framework codemain.rs
: contains framework code
.env.example
: example dotenv file
Cli
cargo prepare <day>
: prepare solution files forday
cargo download <day>
: download input file forday
cargo solve <day>
: run solution against input forday
cargo all
: alias for run; runs solutions for all days
dotenv
set YEAR
to whichever year you are solving for and TOKEN
to AoC session Cookie