# 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 = "actix-contrib-rest" version = "0.6.0" authors = ["Mariano Ruiz "] build = false exclude = [ ".github/workflows/", ".gitignore", ".editorconfig", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Util types and functions for REST and webapp projects built on top of the Actix Web framework" homepage = "https://github.com/mrsarm/rust-actix-contrib-rest" readme = "README.md" categories = ["web-programming"] license = "MIT OR Apache-2.0" repository = "https://github.com/mrsarm/rust-actix-contrib-rest" [lib] name = "actix_contrib_rest" path = "src/lib.rs" [dependencies.actix-http] version = "3.3" [dependencies.actix-web] version = "4.3" [dependencies.actix-web-validator] version = "6.0" [dependencies.anyhow] version = "1.0" [dependencies.awc] version = "3.1" features = ["rustls"] [dependencies.futures-core] version = "0.3" [dependencies.log] version = "0.4" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.server-env-config] version = "0.1" optional = true [dependencies.sqlx] version = ">=0.7" features = [ "runtime-async-std", "tls-native-tls", ] optional = true [dependencies.thiserror] version = "1.0" [dependencies.validator] version = "0.18.1" features = ["derive"] [features] sqlx = [ "dep:sqlx", "dep:server-env-config", ] sqlx-postgres = [ "sqlx", "sqlx/postgres", ]