diff --git a/Cargo.lock b/Cargo.lock index 7a84195..f0464c8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,6 +14,7 @@ dependencies = [ "day6", "day7", "day8", + "day9", ] [[package]] @@ -51,6 +52,10 @@ dependencies = [ "grid", ] +[[package]] +name = "day9" +version = "0.1.0" + [[package]] name = "grid" version = "0.9.0" diff --git a/Cargo.toml b/Cargo.toml index 1f1c02a..d64323b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,4 +18,5 @@ day4 = { path = "./day4" } day5 = { path = "./day5" } day6 = { path = "./day6" } day7 = { path = "./day7" } -day8 = { path = "./day8" } \ No newline at end of file +day8 = { path = "./day8" } +day9 = { path = "./day9" } \ No newline at end of file diff --git a/day9/Cargo.toml b/day9/Cargo.toml new file mode 100644 index 0000000..b5e5273 --- /dev/null +++ b/day9/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "day9" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/day9/src/input.txt b/day9/src/input.txt new file mode 100644 index 0000000..e69de29 diff --git a/day9/src/inputex.txt b/day9/src/inputex.txt new file mode 100644 index 0000000..e69de29 diff --git a/day9/src/lib.rs b/day9/src/lib.rs new file mode 100644 index 0000000..09e4eab --- /dev/null +++ b/day9/src/lib.rs @@ -0,0 +1,4 @@ +pub fn start() { + let input = include_str!("input.txt").replace("\r", ""); + +} \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index 5fd56d4..dc3498c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ fn main() { - day8::start(); + day9::start(); }