r/adventofcode • u/Grep_0 • 17h ago
Repo Made a Rust crate for running AoC solutions
I’ve been doing Advent of Code for a while, and last year (I forgot to make a post...) I decided to make a little Rust crate to help run my solutions more easily. It’s called aoc-star.
You just add a#[star(day = X, part = X)] attribute to your functions, and it lets you run them from the command line. It can also fetch inputs and submit answers if you set it up with your session cookie.
I've found that it removes a bit of the tedious part of the challenge, hope that it can be useful to some. There is more info on the README.
2
Upvotes