# 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 = "problemdetails" version = "0.4.1" description = "Support for Problem Details (RFC-7807 / RFC-9457) responses in HTTP APIs" homepage = "https://github.com/sazzer/problemdetails/" readme = "README.md" keywords = [ "rfc-7807", "rfc-9457", "http", "problemdetails", ] categories = [ "web-programming::http-server", "api-bindings", ] license = "MIT" repository = "https://github.com/sazzer/problemdetails/" [dependencies.axum] version = "0.7.4" optional = true [dependencies.http] version = "1.0.0" [dependencies.serde] version = "1.0.196" features = ["derive"] [dependencies.serde_json] version = "1.0.113" features = ["preserve_order"] [dependencies.tower-http] version = "0.5.1" features = ["catch-panic"] optional = true [dev-dependencies.assert2] version = "0.3.11" [dev-dependencies.axum-test] version = "14.3.0" [dev-dependencies.hyper] version = "1.1.0" features = ["full"] [dev-dependencies.insta] version = "1.34.0" features = ["json"] [dev-dependencies.tokio] version = "1.36.0" features = ["full"] [features] axum = [ "dep:axum", "dep:tower-http", ]