From 0e2f8f7b47269ee5572da09c65186177992f8409 Mon Sep 17 00:00:00 2001
From: Andrew Gallant <jamslam@gmail.com>
Date: Fri, 7 Sep 2018 12:02:22 -0400
Subject: [PATCH] grep: add clap and regex dev dependencies to grep

These are (or will be) used in grep's examples.
---
 Cargo.lock      | 2 ++
 grep/Cargo.toml | 6 ++++++
 2 files changed, 8 insertions(+)

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"]