Cargo Features
error_set has no features set by default.
[dependencies]
error_set = { version = "0.7.0", features = ["tracing", "log", "defmt", "context_stub"] }
- tracing
-
Enables support for the tracing crate. Adds methods to
Result
that are applied onErr
- e.g.result.warn(...)
.Enables tracing
features
- log
-
Enables support for the log crate. Adds methods to
Result
that are applied onErr
- e.g.result.warn(...)
.Enables log
- defmt
-
Enables support for the defmt crate, which works with no_std. Adds methods to
Result
that are applied onErr
- e.g.result.warn(...)
.Enables defmt
- context_stub
-
Enables support for the log/tracing/defmt api, without pulling in any crates. Allowing a downstream to choose the appropriate crate.