Cargo Features

[dependencies]
anstream = { version = "0.6.18", default-features = false, features = ["auto", "wincon", "test"] }
default = auto, wincon

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

auto default

Enables anstyle-query

Affects _macros::FEATURE_TEST_ACTIVATED, _macros::to_adapted_string, anstream::stdout, anstream::stderr

wincon default

Enables anstyle-wincon

Affects stream::RawStream, wincon::WinconStream

test

Enable in dev-dependencies to make sure output is captured for tests