summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2018-09-07 12:02:22 -0400
committerAndrew Gallant <jamslam@gmail.com>2018-09-07 12:06:05 -0400
commit0e2f8f7b47269ee5572da09c65186177992f8409 (patch)
tree3ba2c0a31e6199987fb1645672eda2eecfe2b4bb
parent3dd4b77dfb677a7dec3b1806943da0dbf416db92 (diff)
grep: add clap and regex dev dependencies to grep
These are (or will be) used in grep's examples.
-rw-r--r--Cargo.lock2
-rw-r--r--grep/Cargo.toml6
2 files changed, 8 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 030f2a13..52465cbb 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -168,12 +168,14 @@ name = "grep"
version = "0.2.1"
dependencies = [
"atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
+ "clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)",
"grep-cli 0.1.0",
"grep-matcher 0.1.0",
"grep-pcre2 0.1.0",
"grep-printer 0.1.0",
"grep-regex 0.1.0",
"grep-searcher 0.1.0",
+ "regex 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
"termcolor 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
"walkdir 2.2.5 (registry+https://github.com/rust-lang/crates.io-index)",
]
diff --git a/grep/Cargo.toml b/grep/Cargo.toml
index c8027ff8..5d3a00dd 100644
--- a/grep/Cargo.toml
+++ b/grep/Cargo.toml
@@ -22,9 +22,15 @@ grep-searcher = { version = "0.1.0", path = "../grep-searcher" }
[dev-dependencies]
atty = "0.2.11"
+regex = "1"
termcolor = "1"
walkdir = "2.2.2"
+[dev-dependencies.clap]
+version = "2.32.0"
+default-features = false
+features = ["suggestions"]
+
[features]
avx-accel = ["grep-searcher/avx-accel"]
simd-accel = ["grep-searcher/simd-accel"]