Cargo Features

flex-error = { version = "0.4.4", default-features = false, features = ["std", "full", "eyre_tracer", "anyhow_tracer"] }
default = full

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

std anyhow_tracer? eyre_tracer? full

Affects tracer::ErrorMessageTracer.as_error

full default = anyhow_tracer, eyre_tracer, std
eyre_tracer full = eyre, std

Affects flex-error::DefaultTracer, tracer_impl::eyre

anyhow_tracer full = anyhow, std

Affects flex-error::DefaultTracer, tracer_impl::anyhow

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 eyre_tracer?
anyhow anyhow_tracer?