advent-of-code/aoc2019/src/main.rs

40 lines
686 B
Rust

use anyhow::Result;
use aoc::DayFunc;
use aoc2019::day01;
use aoc2019::day02;
use aoc2019::day03;
use aoc2019::day04;
use aoc2019::day05;
use aoc2019::day06;
use aoc2019::day07;
use aoc2019::day08;
use aoc2019::day09;
use aoc2019::day10;
use aoc2019::day11;
use aoc2019::day12;
use aoc2019::day13;
use aoc2019::day14;
fn main() -> Result<()> {
let days: &[DayFunc] = &[
day01::run,
day02::run,
day03::run,
day04::run,
day05::run,
day06::run,
day07::run,
day08::run,
day09::run,
day10::run,
day11::run,
day12::run,
day13::run,
day14::run,
];
aoc::run(days)
}