1
0
Fork 0

porting over AOC from previous years to a monorepo.

This commit is contained in:
Gabe Venberg 2026-04-16 14:45:29 +02:00
commit 84c4cf9991
194 changed files with 30104 additions and 0 deletions

9
2023/template/Cargo.toml Normal file
View file

@ -0,0 +1,9 @@
[package]
name = "template"
authors.workspace = true
description.workspace = true
version.workspace = true
edition.workspace = true
[dependencies]
aoc_libs.workspace = true

View file

14
2023/template/src/main.rs Normal file
View file

@ -0,0 +1,14 @@
mod part1;
mod part2;
mod parse;
fn main() {
let input = include_str!("./input.txt");
let structured_input = parse::parse(input);
println!("Part One");
println!("Result: {}", part1::part1(&structured_input));
println!("Part Two");
println!("Result: {}", part2::part2(&structured_input));
}

View file

@ -0,0 +1,16 @@
pub type StructuredInput = usize;
pub fn parse(input: &str) -> StructuredInput {
unimplemented!()
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_parse() {
let input = concat!();
assert_eq!(0, 0);
}
}

View file

@ -0,0 +1,15 @@
use crate::parse::*;
pub fn part1(input: &StructuredInput) -> usize {
unimplemented!()
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_part1() {
assert_eq!(0, 0);
}
}

View file

@ -0,0 +1,15 @@
use crate::parse::*;
pub fn part2(input: &StructuredInput) -> usize {
unimplemented!()
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_part2() {
assert_eq!(0, 0);
}
}