summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2018-08-21 23:10:34 -0400
committerAndrew Gallant <jamslam@gmail.com>2018-08-21 23:10:34 -0400
commit033ad2b8e4bca4ee7a9f01e5598e8b9a95b12b29 (patch)
tree4883d8bd16e8abe945a5e315f62f95ed111bed74
parent098a8ee843eb4e110549a4b71923ab6a3f227d99 (diff)
deps: update clap
Update clap to the latest version. Also, drop the ansi_term dependency by disabling color output in clap's error messages.
-rw-r--r--Cargo.lock11
-rw-r--r--Cargo.toml8
2 files changed, 4 insertions, 15 deletions
diff --git a/Cargo.lock b/Cargo.lock
index c64a6adf..36db02de 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -7,14 +7,6 @@ dependencies = [
]
[[package]]
-name = "ansi_term"
-version = "0.11.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-dependencies = [
- "winapi 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
-]
-
-[[package]]
name = "arrayvec"
version = "0.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -74,8 +66,6 @@ name = "clap"
version = "2.32.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
"strsim 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
"textwrap 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -691,7 +681,6 @@ dependencies = [
[metadata]
"checksum aho-corasick 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c1c6d463cbe7ed28720b5b489e7c083eeb8f90d08be2a0d6bb9e1ffea9ce1afa"
-"checksum ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b"
"checksum arrayvec 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)" = "a1e964f9e24d588183fcb43503abda40d288c8657dfc27311516ce2f05675aef"
"checksum atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "9a7d5b8723950951411ee34d271d99dddcc2035a16ab25310ea2c8cfd4369652"
"checksum base64 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "85415d2594767338a74a30c1d370b2f3262ec1b4ed2d7bba5b3faf4de40467d9"
diff --git a/Cargo.toml b/Cargo.toml
index 48296bdc..092f86d2 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -57,9 +57,9 @@ serde_json = "1"
termcolor = "1"
[dependencies.clap]
-version = "2.29.4"
+version = "2.32.0"
default-features = false
-features = ["suggestions", "color"]
+features = ["suggestions"]
[target.'cfg(windows)'.dependencies.winapi]
version = "0.3"
@@ -69,9 +69,9 @@ features = ["std", "fileapi", "winnt"]
lazy_static = "1"
[build-dependencies.clap]
-version = "2.29.4"
+version = "2.32.0"
default-features = false
-features = ["suggestions", "color"]
+features = ["suggestions"]
[dev-dependencies]
serde = "1"