- Up-to-date Rust toolchain (
rustup
,rustc
,cargo
)
The inputs are different for every Advent of Code account, so you need to download your own.
Add them under inputs
in the following format:
aoc-2022
├── inputs
│ ├── day1.txt
│ └── day2.txt
...
Execute the following (replace 1
with the number you want)
cargo r --bin day1