Module prelude

Source
Expand description

Library prelude; glob-import to bring all important items into scope.

Re-exports§

pub use crate::Solution;
pub use crate::Solver;
pub use crate::Test;

Macros§

derive_tests
Derive test cases for a day’s solution.
solution_array
Generates an array of solution closures. Useful if you’d like to defer picking which solution to execute until runtime.
solve
Run and pretty-print a day’s solution.
solve_through
Run and pretty-print the solutions for all days in the range 1..=N.

Structs§

Outcome
Represents the final product of a Solution.
Timings
Represents benchmarking timing data from the execution of a solution.

Constants§

DAY_01
DAY_02
DAY_03
DAY_04
DAY_05
DAY_06
DAY_07
DAY_08
DAY_09
DAY_10
DAY_11
DAY_12
DAY_13
DAY_14
DAY_15
DAY_16
DAY_17
DAY_18
DAY_19
DAY_20
DAY_21
DAY_22
DAY_23
DAY_24
DAY_25
PART_ONE
PART_TWO