[package] name = "svc-error" version = "0.6.0" authors = ["Andrei Nesterov "] description = "An implementation of RFC7807: Problem Details for HTTP APIs." readme = "README.md" keywords = ["problem-details", "rfc7807", "error"] categories = ["web-programming"] repository = "https://github.com/foxford/svc-error-rs" license = "MIT" edition = "2018" [dependencies] anyhow = "1" crossbeam-channel = "0.5" http = "0.2" http-serde = { version = "1.1", optional = true } once_cell = { version = "1", optional = true } r2d2 = { version = ">=0.8", optional = true } sentry = { version = "0.31", optional = true, default-features = false, features = ["anyhow", "backtrace", "reqwest"] } sentry-anyhow = { version = "0.31", optional = true, features = ["backtrace"] } serde = { version = "1.0", features = ["derive"] } serde_derive = { version = "1.0" } sqlx = { version = "0.6", optional = true, features = [ "runtime-tokio-native-tls" ] } svc-agent = { version = "0.21", optional = true } svc-authn = { version = "0.8", optional = true } svc-authz = { version = "0.12", optional = true } [features] default = [] sentry-extension = ["sentry", "sentry-anyhow", "once_cell"] serialize-status-code = ["http-serde"]