summaryrefslogtreecommitdiffstats
path: root/src/bin/2023/main.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2023-12-01 00:42:45 -0500
committerJesse Luehrs <doy@tozt.net>2023-12-01 00:42:45 -0500
commit5eba5d2b339075f51b7255de72d32c8a740614e3 (patch)
treee8e8dba235b0a6c4a2bf80aee4ee7ced108a8475 /src/bin/2023/main.rs
parent18202694cfc4c715de7dab36639373f9deb1abe3 (diff)
downloadadvent-of-code-5eba5d2b339075f51b7255de72d32c8a740614e3.tar.gz
advent-of-code-5eba5d2b339075f51b7255de72d32c8a740614e3.zip
day 1
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(())
+}