diff --git a/Cargo.lock b/Cargo.lock index 1540322..e5fc42e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -163,17 +163,6 @@ dependencies = [ "itertools 0.10.5", ] -[[package]] -name = "d01-trebuchet" -version = "0.1.0" -dependencies = [ - "aoc", -] - -[[package]] -name = "d02" -version = "0.1.0" - [[package]] name = "d02-rock-paper-scissors" version = "0.1.0" @@ -183,10 +172,6 @@ dependencies = [ "itertools 0.10.5", ] -[[package]] -name = "d03" -version = "0.1.0" - [[package]] name = "d03-rucksack-reorganization" version = "0.1.0" @@ -195,10 +180,6 @@ dependencies = [ "itertools 0.10.5", ] -[[package]] -name = "d04" -version = "0.1.0" - [[package]] name = "d04-camp-cleanup" version = "0.1.0" @@ -207,10 +188,6 @@ dependencies = [ "inpt", ] -[[package]] -name = "d05" -version = "0.1.0" - [[package]] name = "d05-supply-stacks" version = "0.1.0" @@ -1653,3 +1630,38 @@ version = "0.1.0" [[package]] name = "y22d25" version = "0.1.0" + +[[package]] +name = "y23d01" +version = "0.1.0" +dependencies = [ + "aoc", +] + +[[package]] +name = "y23d02" +version = "0.1.0" +dependencies = [ + "aoc", +] + +[[package]] +name = "y23d03" +version = "0.1.0" +dependencies = [ + "aoc", +] + +[[package]] +name = "y23d04" +version = "0.1.0" +dependencies = [ + "aoc", +] + +[[package]] +name = "y23d05" +version = "0.1.0" +dependencies = [ + "aoc", +] diff --git a/Cargo.toml b/Cargo.toml index becc01d..e6d790a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,10 +31,10 @@ members = [ "advent-of-code-2022/d25", "advent-of-code-2023/d01-trebuchet", - "advent-of-code-2023/d02", - "advent-of-code-2023/d03", - "advent-of-code-2023/d04", - "advent-of-code-2023/d05", + "advent-of-code-2023/d02-cube-conundrum", + "advent-of-code-2023/d03-gear-ratios", + "advent-of-code-2023/d04-scratchcards", + "advent-of-code-2023/d05-if-you-give-a-seed-a-fertilizer", "advent-of-code-2023/d06", "advent-of-code-2023/d07", "advent-of-code-2023/d08", diff --git a/advent-of-code-2023/d01-trebuchet/Cargo.toml b/advent-of-code-2023/d01-trebuchet/Cargo.toml index 36b3666..d96ee07 100644 --- a/advent-of-code-2023/d01-trebuchet/Cargo.toml +++ b/advent-of-code-2023/d01-trebuchet/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "d01-trebuchet" +name = "y23d01" version = "0.1.0" edition = "2021" diff --git a/advent-of-code-2023/d02-cube-conundrum/Cargo.toml b/advent-of-code-2023/d02-cube-conundrum/Cargo.toml index 6a41139..4968a8c 100644 --- a/advent-of-code-2023/d02-cube-conundrum/Cargo.toml +++ b/advent-of-code-2023/d02-cube-conundrum/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "d02-cube-conundrum" +name = "y23d02" version = "0.1.0" edition = "2021" diff --git a/advent-of-code-2023/d02/Cargo.toml b/advent-of-code-2023/d02/Cargo.toml deleted file mode 100644 index 9935f1c..0000000 --- a/advent-of-code-2023/d02/Cargo.toml +++ /dev/null @@ -1,8 +0,0 @@ -[package] -name = "d02" -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/advent-of-code-2023/d02/README.md b/advent-of-code-2023/d02/README.md deleted file mode 100644 index 71b385c..0000000 --- a/advent-of-code-2023/d02/README.md +++ /dev/null @@ -1 +0,0 @@ -# [Day 2](https://adventofcode.com/2023/day/2) diff --git a/advent-of-code-2023/d02/src/main.rs b/advent-of-code-2023/d02/src/main.rs deleted file mode 100644 index e7a11a9..0000000 --- a/advent-of-code-2023/d02/src/main.rs +++ /dev/null @@ -1,3 +0,0 @@ -fn main() { - println!("Hello, world!"); -} diff --git a/advent-of-code-2023/d03-gear-ratios/Cargo.toml b/advent-of-code-2023/d03-gear-ratios/Cargo.toml index ef41c89..42bff1c 100644 --- a/advent-of-code-2023/d03-gear-ratios/Cargo.toml +++ b/advent-of-code-2023/d03-gear-ratios/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "d03-gear-ratios" +name = "y23d03" version = "0.1.0" edition = "2021" diff --git a/advent-of-code-2023/d03/Cargo.toml b/advent-of-code-2023/d03/Cargo.toml deleted file mode 100644 index f6cadf3..0000000 --- a/advent-of-code-2023/d03/Cargo.toml +++ /dev/null @@ -1,8 +0,0 @@ -[package] -name = "d03" -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/advent-of-code-2023/d03/README.md b/advent-of-code-2023/d03/README.md deleted file mode 100644 index 8c36a55..0000000 --- a/advent-of-code-2023/d03/README.md +++ /dev/null @@ -1 +0,0 @@ -# [Day 3](https://adventofcode.com/2023/day/3) diff --git a/advent-of-code-2023/d03/src/main.rs b/advent-of-code-2023/d03/src/main.rs deleted file mode 100644 index e7a11a9..0000000 --- a/advent-of-code-2023/d03/src/main.rs +++ /dev/null @@ -1,3 +0,0 @@ -fn main() { - println!("Hello, world!"); -} diff --git a/advent-of-code-2023/d04-scratchcards/Cargo.toml b/advent-of-code-2023/d04-scratchcards/Cargo.toml index 5c10634..8a91634 100644 --- a/advent-of-code-2023/d04-scratchcards/Cargo.toml +++ b/advent-of-code-2023/d04-scratchcards/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "d04-scratchcards" +name = "y23d04" version = "0.1.0" edition = "2021" diff --git a/advent-of-code-2023/d04/Cargo.toml b/advent-of-code-2023/d04/Cargo.toml deleted file mode 100644 index 314f0c1..0000000 --- a/advent-of-code-2023/d04/Cargo.toml +++ /dev/null @@ -1,8 +0,0 @@ -[package] -name = "d04" -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/advent-of-code-2023/d04/README.md b/advent-of-code-2023/d04/README.md deleted file mode 100644 index c42656f..0000000 --- a/advent-of-code-2023/d04/README.md +++ /dev/null @@ -1 +0,0 @@ -# [Day 4](https://adventofcode.com/2023/day/4) diff --git a/advent-of-code-2023/d04/src/main.rs b/advent-of-code-2023/d04/src/main.rs deleted file mode 100644 index e7a11a9..0000000 --- a/advent-of-code-2023/d04/src/main.rs +++ /dev/null @@ -1,3 +0,0 @@ -fn main() { - println!("Hello, world!"); -} diff --git a/advent-of-code-2023/d05/Cargo.toml b/advent-of-code-2023/d05/Cargo.toml index 52949a9..6de6052 100644 --- a/advent-of-code-2023/d05/Cargo.toml +++ b/advent-of-code-2023/d05/Cargo.toml @@ -1,8 +1,9 @@ [package] -name = "d05" +name = "y23d05" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +aoc = { path = "../../aoc" } \ No newline at end of file diff --git a/advent-of-code-2023/d05/README.md b/advent-of-code-2023/d05/README.md deleted file mode 100644 index f297509..0000000 --- a/advent-of-code-2023/d05/README.md +++ /dev/null @@ -1 +0,0 @@ -# [Day 5](https://adventofcode.com/2023/day/5) diff --git a/advent-of-code-2023/d05/src/main.rs b/advent-of-code-2023/d05/src/main.rs deleted file mode 100644 index e7a11a9..0000000 --- a/advent-of-code-2023/d05/src/main.rs +++ /dev/null @@ -1,3 +0,0 @@ -fn main() { - println!("Hello, world!"); -}