From 8d1554b542190551fa4ba67acb4fa8db8d6aac35 Mon Sep 17 00:00:00 2001 From: Andrew Coleman Date: Fri, 1 Mar 2024 08:34:07 -0500 Subject: [PATCH] add itertools --- 2023/Cargo.lock | 16 ++++++++++++++++ 2023/Cargo.toml | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/2023/Cargo.lock b/2023/Cargo.lock index 7ebace4..f197234 100644 --- a/2023/Cargo.lock +++ b/2023/Cargo.lock @@ -24,6 +24,7 @@ dependencies = [ "aoc-parse", "chrono", "dhat", + "itertools", "num", "pathfinding", "pico-args", @@ -164,6 +165,12 @@ dependencies = [ "thousands", ] +[[package]] +name = "either" +version = "1.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" + [[package]] name = "equivalent" version = "1.0.1" @@ -230,6 +237,15 @@ dependencies = [ "num-traits", ] +[[package]] +name = "itertools" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.9" diff --git a/2023/Cargo.toml b/2023/Cargo.toml index a26ec7d..97b0a63 100644 --- a/2023/Cargo.toml +++ b/2023/Cargo.toml @@ -30,4 +30,5 @@ dhat = { version = "0.3.2", optional = true } num = "0.4.1" pathfinding = "4.8.2" pico-args = "0.5.0" -tinyjson = "2.5.1" \ No newline at end of file +tinyjson = "2.5.1" +itertools = "0.12.1"