Expand description
§yuletide
A framework for writing and managing multiple Advent of Code solutions in Rust by handling the boilerplate of registering and running solutions.
Note: This crate is in early development and will have breaking changes.
Modules§
Structs§
- Example
- Defines the exepcted answer for a given input. Examples are specific to an Advent of Calendar puzzle.
- Solver
- A
Solveris runnable Advent of Code puzzle solution for a given year and day. - Solver
Args - A collection of parameters provided to the puzzle solver at runtime.
- Solver
Auto Register - Contains registration information for a puzzle solver, and is used at start up to create a directory of puzzle solvers.
- Solver
Part - Holds the function that solves for an Advent of Code puzzle part, and any additional metadata.
- Solver
Registry - Holds a collection of puzzle solvers that can be looked up by year and day.
Enums§
- Solver
Error - Represents an error that can happen when running an Advent of Code solver.
Type Aliases§
- Result
- The result of running an Advent of Code solver.
- Solver
Part Fn - A function that solves an Advent of Code puzzle part.