Cargo Features
[dependencies]
error-stack = { version = "0.6.0", default-features = false, features = ["std", "backtrace", "tracing", "spantrace", "serde", "hooks", "anyhow", "eyre", "futures", "unstable"] }
- default = backtrace, std
-
These default features are set whenever
error-stack
is added without
somewhere in the dependency tree.default-features = false - std default backtrace eyre? spantrace?
-
Enables support for
Error
Enables std of optional anyhow
Public workspace dependencies
Public third-party dependencies - backtrace default = std
-
Enables automatic capturing of
Backtrace
s (requires Rust 1.65+) - tracing spantrace?
-
Uses the
tracing
library if messages would be printed to the terminalEnables tracing
- spantrace = std, tracing
-
Enables automatic capturing of
SpanTrace
sEnables tracing-error
- serde
-
Enables serialization support
Enables serde
- hooks
-
Enables hooks on
no-std
platforms using spin locksEnables spin
Private third-party dependencies
- anyhow
-
Provides
into_report
to convertanyhow::Error
toReport
Enables anyhow
- eyre = std
-
Provides
into_report
to converteyre::Report
toReport
Enables eyre
- futures
-
Provides support for
futures
types, such as stream.Enables futures-core and pin-project-lite
pin-project-lite:
Private workspace dependencies
- unstable
-
Enables unstable features that are not covered under any stability guarantees
Affects
error-stack::ext
…