From 0d3b02bc28bf9905dbeef880a9a805260872085b Mon Sep 17 00:00:00 2001 From: Paul Kuruvilla Date: Fri, 17 Dec 2021 12:47:07 +0000 Subject: [PATCH] Syncing with codecrafters-io/languages Created by https://github.com/codecrafters-io/languages --- Cargo.lock | 16 ++++++++++++++++ Cargo.toml | 9 +++++---- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index caa0799..ccc36ee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -17,6 +17,21 @@ version = "1.0.44" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61604a8f862e1d5c3229fdd78f8b02c68dcf73a4c4b05fd636d12240aaa242c1" +[[package]] +name = "either" +version = "1.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" + +[[package]] +name = "itertools" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3" +dependencies = [ + "either", +] + [[package]] name = "memchr" version = "2.4.1" @@ -107,6 +122,7 @@ name = "sqlite-starter-rust" version = "0.1.0" dependencies = [ "anyhow", + "itertools", "nom", "peg", "regex", diff --git a/Cargo.toml b/Cargo.toml index f4b03a5..05b964e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,8 @@ edition = "2018" # # DON'T EDIT THIS! [dependencies] -anyhow = "1.0.43" # for easy error handling -nom = "7.0.0" # for parsing -peg = "0.7.0" # for parsing -regex = "1.5.4" # for parsing +anyhow = "1.0.43" # for easy error handling +itertools = "0.10.3" # useful iterator extensions +nom = "7.0.0" # for parsing +peg = "0.7.0" # for parsing +regex = "1.5.4" # for parsing