My solutions for Advent of Code, written in Rust.
❗❗❗ This repo will no longer be updated. Please go to https://git.sr.ht/~toni/AoC for new solutions.
I use cargo-aoc for automatically downloading input and handling other things like tests, benchmarks and generator functions. You can install it with cargo install cargo-aoc
.
Most years require nightly Rust because I used some unstable features.
To run a specific day, use:
cd <year>
cargo aoc credentials -s <token>
cargo aoc -d <day>
2015 - ★★★★★★★★★★★★★★★★★★★★★★★★★
2016 - ★★★★★★★★★★★★★★★★★★★★★★★★★
2017 - ★★★★★★★★★★★★★★★★★★★★★★★★★
2018 - ★★★★★★★★★★★★★★★★★★★★★★★★★
2019 - ★★★★★★★★★★★★★★★★★★★★★☆★★☆
2020 - ★★★★★★★★★★★★★★★★★★★★★★★★★ 1
2021 - ★★★★★★★★★★★★★★★★★★★★★★★★★ 2
2022 - ★★★★