Cargo Features

[dependencies]
palc = { version = "3.1.6", default-features = false, features = ["debug", "unstable-doc", "std", "color", "suggestions", "derive", "cargo", "wrap_help", "yaml", "env", "unicode", "unstable-replace", "unstable-grouped", "unstable-v4"] }
default = color, std, suggestions

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

debug = backtrace

Enables debug messages

Enables debug of clap_derive ^3.1.4

unstable-doc = cargo, derive, env, regex, unicode, unstable-grouped, unstable-multicall, unstable-replace, wrap_help, yaml

for docs.rs

std default

Used in default
support for no_std in a backwards-compatible way

Enables std of indexmap ^1.0

color default = atty, termcolor
suggestions default = strsim
derive unstable-doc? = clap_derive, lazy_static

Optional

cargo unstable-doc? = lazy_static

Disable if you're not using Cargo, enables Cargo-env-var-dependent macros

wrap_help unstable-doc? = terminal_size

Enables terminal_size of textwrap ^0.15.0

yaml unstable-doc? = yaml-rust
env unstable-doc?

Use environment variables during arg parsing

unicode unstable-doc? = unicase

Support for unicode characters in arguments and help messages

Enables unicode-width of textwrap ^0.15.0

unstable-replace unstable-doc?

In-work features

unstable-multicall unstable-grouped unstable-doc?
unstable-v4

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 clap_derive ^3.1.4

unicase unicode?
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 unstable-doc?
backtrace debug?