# 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 = "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"] license = "MIT" repository = "https://github.com/foxford/svc-error-rs" [dependencies.anyhow] version = "1" [dependencies.crossbeam-channel] version = "0.5" [dependencies.http] version = "0.2" [dependencies.http-serde] version = "1.1" optional = true [dependencies.once_cell] version = "1" optional = true [dependencies.r2d2] version = ">=0.8" optional = true [dependencies.sentry] version = "0.31" features = [ "anyhow", "backtrace", "reqwest", ] optional = true default-features = false [dependencies.sentry-anyhow] version = "0.31" features = ["backtrace"] optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_derive] version = "1.0" [dependencies.sqlx] version = "0.6" features = ["runtime-tokio-native-tls"] optional = true [dependencies.svc-agent] version = "0.21" optional = true [dependencies.svc-authn] version = "0.8" optional = true [dependencies.svc-authz] version = "0.12" optional = true [features] default = [] sentry-extension = [ "sentry", "sentry-anyhow", "once_cell", ] serialize-status-code = ["http-serde"]