From 294da41a308e4f4125db876c5b24084ae8cfcb5f Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Wed, 6 May 2015 11:38:40 +0200 Subject: [PATCH] chore(CLI): special clap configuration Turn off default features to disable overly red first version of otherwise very promising ascii-coloring support. It's good to see that thanks to yaml, that flexibility is easily achieved without altering any generator code. --- etc/api/type-cli.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/etc/api/type-cli.yaml b/etc/api/type-cli.yaml index 102db233d3..bb42c85027 100644 --- a/etc/api/type-cli.yaml +++ b/etc/api/type-cli.yaml @@ -26,8 +26,12 @@ cargo: keywords: [cli] is_executable: YES dependencies: - - clap = "*" - strsim = "*" - yup-hyper-mock = "*" - serde = ">= 0.3.0" - serde_macros = "*" + - | + [dependencies.clap] + version = "*" + features = ["suggestions"] + default-features = false