From 01fa26742e77ddfb7bbb960c19e0a41bd4220896 Mon Sep 17 00:00:00 2001 From: NotAFile Date: Thu, 3 Feb 2022 00:06:30 +0100 Subject: [PATCH] remove greedyerror --- Cargo.lock | 98 +++--------------------------------------------------- Cargo.toml | 3 +- 2 files changed, 6 insertions(+), 95 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 87c522a..b92d24d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -20,12 +20,6 @@ dependencies = [ "yansi", ] -[[package]] -name = "arrayvec" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" - [[package]] name = "atty" version = "0.2.14" @@ -43,24 +37,12 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" -[[package]] -name = "bytecount" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f861d9ce359f56dbcb6e0c2a1cb84e52ad732cadb57b806adeb3c7668caccbd8" - [[package]] name = "bytecount" version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72feb31ffc86498dacdbd0fcebb56138e7177a8cc5cea4516031d15ae85a742e" -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - [[package]] name = "clap" version = "2.34.0" @@ -81,9 +63,8 @@ name = "futilehdl" version = "0.1.0" dependencies = [ "ariadne", - "nom 7.1.0", - "nom-greedyerror", - "nom_locate 4.0.0", + "nom", + "nom_locate", "smol_str", "structopt", ] @@ -112,19 +93,6 @@ version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" -[[package]] -name = "lexical-core" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6607c62aa161d23d17a9072cc5da0be67cdfc89d3afb1e8d9c842bebc2525ffe" -dependencies = [ - "arrayvec", - "bitflags", - "cfg-if", - "ryu", - "static_assertions", -] - [[package]] name = "libc" version = "0.2.115" @@ -143,17 +111,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" -[[package]] -name = "nom" -version = "5.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af" -dependencies = [ - "lexical-core", - "memchr", - "version_check", -] - [[package]] name = "nom" version = "7.1.0" @@ -165,50 +122,15 @@ dependencies = [ "version_check", ] -[[package]] -name = "nom-greedyerror" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcd01dcb46ac4b8133a093685c5133b044d45c35f10ac9b6606e4db780d94ac7" -dependencies = [ - "nom 5.1.2", - "nom 7.1.0", - "nom_locate 1.0.0", - "nom_locate 2.1.0", - "nom_locate 4.0.0", -] - -[[package]] -name = "nom_locate" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f932834fd8e391fc7710e2ba17e8f9f8645d846b55aa63207e17e110a1e1ce35" -dependencies = [ - "bytecount 0.3.2", - "memchr", - "nom 5.1.2", -] - -[[package]] -name = "nom_locate" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a67484adf5711f94f2f28b653bf231bff8e438be33bf5b0f35935a0db4f618a2" -dependencies = [ - "bytecount 0.6.2", - "memchr", - "nom 5.1.2", -] - [[package]] name = "nom_locate" version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37794436ca3029a3089e0b95d42da1f0b565ad271e4d3bb4bad0c7bb70b10605" dependencies = [ - "bytecount 0.6.2", + "bytecount", "memchr", - "nom 7.1.0", + "nom", ] [[package]] @@ -253,12 +175,6 @@ dependencies = [ "proc-macro2", ] -[[package]] -name = "ryu" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73b4b750c782965c211b42f022f59af1fbceabdd026623714f104152f1ec149f" - [[package]] name = "serde" version = "1.0.136" @@ -274,12 +190,6 @@ dependencies = [ "serde", ] -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - [[package]] name = "strsim" version = "0.8.0" diff --git a/Cargo.toml b/Cargo.toml index 8c06711..0f702c1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,8 @@ edition = "2021" [dependencies] ariadne = "0.1.3" nom = "7.1.0" -nom-greedyerror = "0.4.0" nom_locate = "4.0.0" smol_str = "0.1.21" structopt = "0.3.26" + +[features]