# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "problem_details" version = "0.6.0" authors = ["Markus Gasser "] description = "RFC 9457 / RFC 7807 problem details for HTTP APIs." readme = "README.md" keywords = [ "http", "problem-details", "rfc9457", "rfc7807", ] categories = ["web-programming"] license = "MIT OR Apache-2.0" repository = "https://github.com/frenetisch-applaudierend/problem-details-rs" [package.metadata.docs.rs] all-features = true [[example]] name = "axum" required-features = [ "axum", "json", "xml", ] [[example]] name = "poem" required-features = [ "poem", "json", "xml", ] [dependencies.axum] version = "0.7" features = ["json"] optional = true default-features = false [dependencies.http] version = "1.0" [dependencies.http-serde] version = "2.0" optional = true default-features = false [dependencies.poem] version = "2.0" optional = true default-features = false [dependencies.quick-xml] version = "0.31" features = ["serialize"] optional = true default-features = false [dependencies.serde] version = "1.0" features = ["serde_derive"] optional = true default-features = false [dependencies.serde_json] version = "1.0" features = ["std"] optional = true default-features = false [dev-dependencies.axum] version = "0.7" [dev-dependencies.poem] version = "2.0" [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.tokio] version = "1.35" features = [ "macros", "rt-multi-thread", ] [features] axum = ["dep:axum"] default = [ "serde", "json", ] json = [ "serde", "dep:serde_json", ] poem = ["dep:poem"] serde = [ "dep:serde", "dep:http-serde", ] xml = [ "serde", "dep:quick-xml", ] [badges.maintenance] status = "experimental"