Merge pull request #4337 from epage/weak

fix: Hide clap_derive
This commit is contained in:
Ed Page 2022-10-03 09:19:16 -05:00 committed by GitHub
commit ee16d782b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,7 @@ default = [
"error-context", "error-context",
"suggestions", "suggestions",
] ]
debug = ["clap_derive/debug", "dep:backtrace"] # Enables debug messages debug = ["clap_derive?/debug", "dep:backtrace"] # Enables debug messages
unstable-doc = ["derive", "cargo", "wrap_help", "env", "unicode", "string", "unstable-replace", "unstable-grouped"] # for docs.rs unstable-doc = ["derive", "cargo", "wrap_help", "env", "unicode", "string", "unstable-replace", "unstable-grouped"] # for docs.rs
# Used in default # Used in default
@ -75,7 +75,7 @@ suggestions = ["dep:strsim", "error-context"]
# Optional # Optional
deprecated = ["clap_derive?/deprecated"] # Guided experience to prepare for next breaking release (at different stages of development, this may become default) deprecated = ["clap_derive?/deprecated"] # Guided experience to prepare for next breaking release (at different stages of development, this may become default)
derive = ["clap_derive", "dep:once_cell"] derive = ["dep:clap_derive", "dep:once_cell"]
cargo = ["dep:once_cell"] # Disable if you're not using Cargo, enables Cargo-env-var-dependent macros cargo = ["dep:once_cell"] # Disable if you're not using Cargo, enables Cargo-env-var-dependent macros
wrap_help = ["help", "dep:terminal_size"] wrap_help = ["help", "dep:terminal_size"]
env = [] # Use environment variables during arg parsing env = [] # Use environment variables during arg parsing