Cargo Features

[dependencies]
tamasfe-clap = { version = "3.0.0-beta.2", default-features = false, features = ["std", "suggestions", "color", "wrap_help", "derive", "yaml", "cargo", "unstable", "debug", "doc"] }
default = cargo, color, derive, std, suggestions

These default features are set whenever tamasfe-clap is added without default-features = false somewhere in the dependency tree.

std default

support for no_std in a backwards-compatible way

suggestions default = strsim
color default = atty, termcolor
wrap_help = terminal_size

Enables terminal_size of textwrap ^0.12

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

unstable

for building with unstable clap features (doesn't require nightly Rust) (currently none)

Enables unstable of clap_derive ^3.0.0-beta.2

debug

Enables debug messages

Enables debug of clap_derive ^3.0.0-beta.2

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 unstable?

Enables clap_derive ^3.0.0-beta.2

strsim suggestions

Enables strsim ^0.10

yaml-rust yaml?
atty color
termcolor color
terminal_size wrap_help?

Enables terminal_size ^0.1.12

lazy_static cargo derive
regex doc?