Cargo Features
[dependencies]
should-color = { version = "0.5.2", default-features = false, features = ["clicolor", "clicolor_force", "no_color", "stream", "clap"] }
- default = clicolor, clicolor_force, no_color, stream
-
These default features are set whenever
should-color
is added without
somewhere in the dependency tree.default-features = false - clicolor default
-
Affects
should-color::CLICOLOR
,should-color::clicolor
… - clicolor_force default
-
Enables the detection of
CLICOLOR_FORCE
viaclicolor_force
.Affects
should-color::CLICOLOR_FORCE
,should-color::clicolor_force
… - no_color default
-
Affects
should-color::NO_COLOR
,should-color::no_color
… - stream default
-
Adds
ColorChoice::for_stream
.Enables atty
- clap
-
Adds
clap_color
and conversion ofColorChoice
to and fromclap::ColorChoice
.Enables clap ^3.2.20
Affects
should-color::clap_color
…