Cargo Features
[dependencies]
axum-dyn-error = { version = "0.1.0", default-features = false, features = ["anyhow", "hide-anyhow", "log"] }
- default = anyhow, hide-anyhow, log
-
These default features are set whenever
axum-dyn-error
is added without
somewhere in the dependency tree.default-features = false - anyhow default
-
Support for anyhow errors
Enables anyhow
Affects
axum-dyn-error::anyhow
… - hide-anyhow default
-
Whether anyhow errors should hide the display messages
- log default
-
Log HTTP errors using
log
Enables log
Affects
axum-dyn-error::HttpError.log
…