Cargo Features

anyhow-http has no features set by default.

[dependencies]
anyhow-http = { version = "0.4.0", features = ["axum", "json", "derive"] }
axum

Enables axum

json

Affects response::HttpJsonErrorResponse, response::HttpJsonResult, response::Json

derive

Enables anyhow-http-derive

Affects anyhow-http::derive