Cargo Features

[dependencies]
problem_details = { version = "0.6.0", default-features = false, features = ["serde", "json", "xml", "axum", "poem"] }
default = json, serde

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

serde default json xml?

Enables http-serde and serde

json default = serde

Enables serde_json

xml = serde

Enables quick-xml

axum

Enables axum

Optional Dependencies

Affects problem_details::axum

poem

Enables poem ^2.0

Affects problem_details::poem