Macro aoc_runner_web_derive::aoc_main
source · aoc_main!() { /* proc-macro */ }Expand description
Main declaration
This macro must be at the end of main.rs
Usage
aoc_main has 2 forms :
- as a standalone binary :
aoc_main! { year = 2018 } - as a link to a library :
aoc_main! { lib = advent_of_code_2018 }(you must hadextern crate advent_of_code_2018;before)