summaryrefslogtreecommitdiffstats
path: root/Cargo.lock
diff options
context:
space:
mode:
authorShivesh Mandalia <mail@shivesh.org>2022-12-20 16:55:43 +0000
committerShivesh Mandalia <mail@shivesh.org>2022-12-20 16:55:43 +0000
commit57d36aafff123f2379c7665f7be85703af75a1b1 (patch)
tree0aaa8dffabfd527f3f018f172c46b741df730780 /Cargo.lock
parentcc5b39318201ffbea172195cbd2ac28cb48f6042 (diff)
downloadadvent_of_code_2022-57d36aafff123f2379c7665f7be85703af75a1b1.tar.gz
advent_of_code_2022-57d36aafff123f2379c7665f7be85703af75a1b1.zip
refactor 01a and 01b using itertools
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock17
1 files changed, 17 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 8dad0ca..cb5c260 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -69,6 +69,7 @@ name = "day01a"
version = "0.1.0"
dependencies = [
"clap",
+ "itertools",
]
[[package]]
@@ -76,6 +77,7 @@ name = "day01b"
version = "0.1.0"
dependencies = [
"clap",
+ "itertools",
]
[[package]]
@@ -83,6 +85,12 @@ name = "day02a"
version = "0.1.0"
[[package]]
+name = "either"
+version = "1.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797"
+
+[[package]]
name = "hashbrown"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -114,6 +122,15 @@ dependencies = [
]
[[package]]
+name = "itertools"
+version = "0.10.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
+dependencies = [
+ "either",
+]
+
+[[package]]
name = "libc"
version = "0.2.138"
source = "registry+https://github.com/rust-lang/crates.io-index"