A library for running Advent of Code solutions using aocli, and for parsing Advent of Code inputs.
# Examples ```rust use aoc::Parse;
let line1 = "first: 85, then: +192, finally: -64"; let line2 = "first: -157, then: 4, finally: 1000";
fn parseline(line: &str) -> [i32; 3] { let mut parser = line.asparser(); [ parser.between("first: ", ", "), parser.between("then: ", ", "), parser.after("finally: "), ] .map(Parse::parse_uw) }
asserteq!(line1.ints::<3, i32>(), [85, 192, -64]); asserteq!(parseline(line_1), [85, 192, -64]);
asserteq!(line2.ints::<3, i32>(), [-157, 4, 1000]); asserteq!(parseline(line_2), [-157, 4, 1000]); ```