From 6823e271a0efab4daaa30f527b56eac53b6efc9e Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Sun, 17 Oct 2021 22:10:06 +0200 Subject: [PATCH] Disable clap colors for now May be re-introduced if clap adds a `DisableColoredHelp` setting. Relevant discussion: - https://github.com/clap-rs/clap/pull/2845#issuecomment-945185102 - https://github.com/dbrgn/tealdeer/pull/108#issuecomment-945182471 --- Cargo.lock | 2 -- Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 14828af..85a67a5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -134,14 +134,12 @@ version = "3.0.0-beta.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "feff3878564edb93745d58cf63e17b63f24142506e7a20c87a5521ed7bfb1d63" dependencies = [ - "atty", "bitflags", "clap_derive", "indexmap", "lazy_static", "os_str_bytes", "strsim 0.10.0", - "termcolor", "textwrap", ] diff --git a/Cargo.toml b/Cargo.toml index 5d053f0..7a025f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ path = "src/main.rs" ansi_term = "0.12.0" app_dirs = { version = "2", package = "app_dirs2" } atty = "0.2" -clap = { version = "3.0.0-beta.5", features = ["std", "derive", "color", "suggestions" ], default-features = false } +clap = { version = "3.0.0-beta.5", features = ["std", "derive", "suggestions" ], default-features = false } env_logger = { version = "0.9", optional = true } log = "0.4" reqwest = { version = "0.11.3", features = ["blocking", "rustls-tls", "rustls-tls-native-roots"], default-features = false }