summaryrefslogtreecommitdiffstats
path: root/src/bin/2023/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/2023/main.rs')
-rw-r--r--src/bin/2023/main.rs26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/bin/2023/main.rs b/src/bin/2023/main.rs
new file mode 100644
index 0000000..01e0de3
--- /dev/null
+++ b/src/bin/2023/main.rs
@@ -0,0 +1,26 @@
+#![allow(clippy::cognitive_complexity)]
+#![allow(clippy::missing_const_for_fn)]
+#![allow(clippy::similar_names)]
+#![allow(clippy::struct_excessive_bools)]
+#![allow(clippy::too_many_arguments)]
+#![allow(clippy::too_many_lines)]
+#![allow(clippy::type_complexity)]
+#![allow(clippy::collapsible_else_if)]
+#![allow(clippy::collapsible_if)]
+#![allow(clippy::comparison_chain)]
+
+use advent_of_code::prelude::*;
+
+mod day1;
+// NEXT MOD
+
+#[paw::main]
+fn main(opt: Opt) -> Result<()> {
+ #[allow(clippy::match_single_binding)]
+ match opt.day {
+ 1 => advent_of_code::day!(2023, opt.day, opt.puzzle, day1),
+ // NEXT PART
+ _ => panic!("unknown day {}", opt.day),
+ }
+ Ok(())
+}