🎄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
Find a file Use this template
2023-12-07 08:19:56 +01:00
.cargo Initial commit 2023-12-06 21:23:44 +01:00
aoc_macros Initial commit 2023-12-06 21:23:44 +01:00
benches Initial commit 2023-12-06 21:23:44 +01:00
data Initial commit 2023-12-06 21:23:44 +01:00
src Fix tests 2023-12-07 08:19:56 +01:00
.gitignore Initial commit 2023-12-06 21:23:44 +01:00
Cargo.lock Initial commit 2023-12-06 21:23:44 +01:00
Cargo.toml Initial commit 2023-12-06 21:23:44 +01:00
LICENSE.txt Add license 2023-12-06 21:24:14 +01:00
README.md Add readme 2023-12-06 21:24:14 +01:00

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.