🎄Starter template for solving Advent of Code in Rust - Inspired by https://github.com/fspoettel/advent-of-code-rust/ but rewritten from scratch to support benchmarking with criterion.rs
.cargo | ||
aoc_macros | ||
benches | ||
data | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE.txt | ||
README.md |
Advent of Code template
This template is largely inspired by https://github.com/fspoettel/advent-of-code-rust
However, it is written from scratch as the original template creates a new binary for each day.
This, unfortunately, makes it impossible to benchmark using criterion.rs
.
Because of this, I decided to create this template instead. Internally, this uses some macro trickery to make each day accessible dynamically.
Note
Although this template should largely be functional, there might still be some rough edges. Feel free to open an Issue or create a Pull Request if you notice anything.