Cargo Features

[dependencies]
error-stack = { version = "0.4.1", default-features = false, features = ["std", "spantrace", "eyre", "serde", "hooks", "anyhow"] }
default = std

The std feature is set by default whenever error-stack is added without default-features = false somewhere in the dependency tree.

std default eyre? spantrace?

Enables std of optional anyhow

spantrace = std

Enables tracing-error

eyre = std

Enables eyre

serde

Enables serde

hooks

Enables spin

Features from optional dependencies

anyhow implicit feature

Enables anyhow

anyhow:

Flexible concrete Error type built on std::error::Error