Cargo Features

[dependencies]
anyhow_serde = { version = "1.0.101", default-features = false, features = ["std", "serialize", "backtrace"] }
default = serialize, std

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

std default

Affects kind::Boxed, kind::BoxedKind, anyhow_serde::Chain, wrapper::BoxedError

serialize default = serde

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.

backtrace implicit feature

Enables backtrace

On compilers older than 1.65, features=["backtrace"] may be used to enable backtraces via the backtrace crate. This feature has no effect on 1.65+ besides bringing in an unused dependency, as std::backtrace is always preferred.

serde serialize