# 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 = "http-problem" version = "0.3.0" authors = ["Luis Holanda "] include = ["src/**/*.rs"] description = "A HTTP APIs focused error handling library" homepage = "https://github.com/terramagna/http-problem" keywords = [ "http", "api", "error", "7807", ] categories = ["web-programming"] license = "MIT OR Apache-2.0" repository = "https://github.com/terramagna/http-problem" [dependencies.actix-web] version = "4.0.1" optional = true default-features = false [dependencies.axum] version = "0.6" optional = true [dependencies.backtrace] version = "0.3.65" [dependencies.chrono] version = "0.4.19" [dependencies.diesel] version = "1.4.8" features = ["r2d2"] optional = true default-features = false [dependencies.eyre] version = "0.6.8" [dependencies.http] version = "0.2.8" [dependencies.once_cell] version = "1.10.0" [dependencies.parking_lot] version = "0.12.1" [dependencies.serde] version = "1.0.156" features = ["derive"] [dependencies.serde_json] version = "1.0.95" [dependencies.tokio-postgres] version = "0.7.6" optional = true default-features = false [features] actix = ["dep:actix-web"] axum = ["dep:axum"] diesel = [ "dep:diesel", "sql", ] sql = [] tokio-postgres = [ "dep:tokio-postgres", "sql", ]