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
somewhere in the dependency tree.default-features = false - serde default json xml?
-
Enables http-serde and serde
- json default = serde
-
Enables serde_json
- xml = serde
-
Enables quick-xml ^0.31
- axum
-
Enables axum
Optional Dependencies
Affects
problem_details::axum
… - poem
-
Enables poem ^2.0
Affects
problem_details::poem
…