deps/clap: disable default features...

- color - moved to a feature . To enable install vnetod with
- suggestions
This commit is contained in:
Dmitriy Pleshevskiy 2022-08-02 15:53:29 +03:00
parent 570a39734b
commit c0b010e279
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215
2 changed files with 5 additions and 11 deletions

9
Cargo.lock generated
View file

@ -37,7 +37,6 @@ dependencies = [
"clap_lex", "clap_lex",
"indexmap", "indexmap",
"once_cell", "once_cell",
"strsim",
"termcolor", "termcolor",
"textwrap", "textwrap",
] ]
@ -155,12 +154,6 @@ dependencies = [
"proc-macro2", "proc-macro2",
] ]
[[package]]
name = "strsim"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
[[package]] [[package]]
name = "syn" name = "syn"
version = "1.0.98" version = "1.0.98"
@ -201,7 +194,7 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
[[package]] [[package]]
name = "vnetod" name = "vnetod"
version = "0.2.2" version = "0.3.2"
dependencies = [ dependencies = [
"clap", "clap",
] ]

View file

@ -1,7 +1,7 @@
[package] [package]
name = "vnetod" name = "vnetod"
description = "Dotenv section switcher" description = "Are you still switching sections in your dotenv file manually? Try this dotenv section switcher"
version = "0.3.1" version = "0.3.2"
edition = "2021" edition = "2021"
license = "GPL-3.0+" license = "GPL-3.0+"
homepage = "https://github.com/pleshevskiy/vnetod/discussions" homepage = "https://github.com/pleshevskiy/vnetod/discussions"
@ -12,6 +12,7 @@ categories = ["command-line-interface", "config", "development-tools"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
clap = { version = "3.2.15", features = ["derive"] } clap = { version = "3.2.15", default-features = false, features = ["std", "derive"] }
[features] [features]
color = ["clap/color"]