[package]
edition = "2018"
name = "http-api-problem"
version = "0.12.2"
authors = ["Christian Douven <chridou@users.noreply.github.com>"]
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"
[dependencies.actix]
version = "0.7"
optional = true
[dependencies.actix-web]
version = "0.7"
optional = true
[dependencies.failure]
version = "0.1"
optional = true
[dependencies.http]
version = "0.1"
[dependencies.hyper]
version = "0.12"
optional = true
[dependencies.iron]
version = "0.6"
optional = true
[dependencies.rocket]
version = "0.4"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[features]
with_actix_web = ["actix-web", "actix"]
with_api_error = ["failure"]
with_hyper = ["hyper"]
with_iron = ["iron"]
with_rocket = ["rocket"]