Cargo Features
[dependencies]
nameless-clap = { version = "3.0.0-beta.2.2", default-features = false, features = ["std", "suggestions", "color", "wrap_help", "unicode_help", "derive", "yaml", "cargo", "debug", "doc"] }
- default = cargo, color, derive, std, suggestions, unicode_help
-
These default features are set whenever
nameless-clap
is added without
somewhere in the dependency tree.default-features = false - std default
-
support for no_std in a backwards-compatible way
Enables std of indexmap ^1.0
- suggestions default = strsim
- color default = is-terminal, termcolor
- wrap_help = terminal_size
-
Enables terminal_size of textwrap ^0.14.0
- unicode_help default
-
Enable if any unicode in help message
Enables unicode-width of textwrap ^0.14.0
- derive default = clap_derive, lazy_static
- yaml doc? = yaml-rust
- cargo default = lazy_static
-
Disable if you're not using Cargo, enables Cargo-env-var-dependent macros
- debug
-
Enables debug messages
Enables debug of nameless-clap_derive
- doc = regex, yaml
-
All the features which add to documentation
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- clap_derive debug? derive
-
Enables nameless-clap_derive
- strsim suggestions
-
Enables strsim ^0.10
- yaml-rust yaml?
- is-terminal color
- termcolor color
- terminal_size wrap_help?
-
Enables terminal_size ^0.2.1
- lazy_static cargo derive
- regex doc?