aoc-star-derive
Procedural macro crate for aoc-star.
You normally don't use this crate directly. Instead, depend on aoc-star, and
import the star attribute from there:
use star;
The star attribute:
- Registers the annotated function as an Advent of Code solution for a given
day,part, and optionalyear. - Ensures that the function has the correct signature: it must accept a single
Stringargument (the puzzle input) and return aString(the answer). - Uses the
inventorycrate to make the solution discoverable at runtime.