Cargo Features
[dependencies]
my-util-rust = { version = "0.1.0", default-features = false, features = ["full", "error", "log"] }
- default = error, log
-
These default features are set whenever
my-util-rust
is added without
somewhere in the dependency tree.default-features = false - full = error, log
- error default full? = color-eyre, eyre
-
Affects
my-util-rust::error
… - log default full? = tracing, tracing-core, tracing-error, tracing-log, tracing-subscriber
-
Affects
my-util-rust::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