Cargo Features

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

These default features are set whenever clap-v3 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

Affects suggestions::did_you_mean

color default = ansi_term, atty
wrap_help = term_size

Enables term_size of textwrap ^0.11

derive default = clap_derive, lazy_static
yaml doc? = yaml-rust
cargo default

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)

nightly

for building with unstable Rust features (currently none)

debug

Enables debug messages

doc = 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.

strsim suggestions

Enables strsim ^0.9.0

yaml-rust yaml?
atty color
vec_map default
term_size wrap_help?
lazy_static derive
clap_derive derive

Enables clap_derive-v3

ansi_term not win color