# 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 = "2018" name = "http-api-problem" version = "0.58.0" authors = ["Christian Douven "] description = "A library to create HTTP error response content for APIs based on RFC 7807" homepage = "https://github.com/chridou/http-api-problem" documentation = "https://docs.rs/http-api-problem" readme = "README.md" keywords = [ "http", "api", "json", "error", "7807", ] categories = ["web-programming"] license = "Apache-2.0/MIT" repository = "https://github.com/chridou/http-api-problem" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "doc_cfg", ] [dependencies.actix] version = "0.13" optional = true [dependencies.actix-web-crate] version = "4" optional = true package = "actix-web" [dependencies.axum-core] version = "^0.4.1" optional = true [dependencies.http] version = "1.0" [dependencies.http-api-problem-derive] version = "0.1.0" optional = true [dependencies.hyper] version = "0.14" optional = true [dependencies.rocket] version = "0.5.0-rc.2" optional = true default-features = false [dependencies.rocket_okapi] version = "0.8.0-rc.2" optional = true [dependencies.salvo] version = "0.32" optional = true default-features = false [dependencies.schemars] version = "0.8.10" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.tide] version = "0.16" optional = true default-features = false [dependencies.warp] version = "0.3" optional = true default-features = false [features] actix-web = [ "actix-web-crate", "actix", ] api-error = ["http-api-problem-derive"] axum = ["axum-core"] default = [] json-schema = ["schemars"] rocket-okapi = [ "dep:rocket_okapi", "rocket", "json-schema", ]