Cargo Features

[dependencies]
my-util = { version = "0.1.0", default-features = false, features = ["full", "error", "log"] }
default = error, log

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

full = error, log
error default full? = color-eyre, eyre

Affects my-util::error

log default full? = tracing, tracing-core, tracing-error, tracing-log, tracing-subscriber

Affects my-util::log

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.

eyre error

Enables eyre

error

color-eyre error
tracing log

Enables tracing

log

tracing-subscriber log
tracing-error log
tracing-core log
tracing-log log