# 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 = "hextacy" version = "0.1.12" authors = ["biblius "] description = "Library containing various utilities to aid server development with hexagonal architecture" homepage = "https://github.com/biblius/hextacy" readme = "README.md" keywords = [ "backend", "hextacy", "hextc", "xtc", ] license = "MIT" resolver = "1" [lib] name = "hextacy" path = "src/lib.rs" [dependencies.actix] version = "0.13.0" optional = true [dependencies.actix-web] version = "4" [dependencies.actix-web-actors] version = "4.1.0" optional = true [dependencies.async-trait] version = "0.1.42" [dependencies.bcrypt] version = "0.14.0" [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.colored] version = "2.0.0" [dependencies.cookie] version = "0.17.0" features = ["secure"] [dependencies.data-encoding] version = "2.3.2" [dependencies.diesel] version = "2.0.1" features = [ "chrono", "postgres", "r2d2", "serde_json", ] optional = true [dependencies.dotenv] version = "0.15.0" [dependencies.env_logger] version = "0.10.0" [dependencies.hextacy_derive] version = "0.1.0" [dependencies.hmac] version = "0.12.1" [dependencies.jsonwebtoken] version = "8.1.1" [dependencies.lazy_static] version = "1.4.0" [dependencies.lettre] version = "0.10.3" optional = true [dependencies.log4rs] version = "1.2.0" [dependencies.mockall] version = "0.11.3" [dependencies.mongodb] version = "2.3.1" features = ["tokio-runtime"] optional = true [dependencies.r2d2] version = "0.8.10" optional = true [dependencies.rand] version = "0.8.5" [dependencies.redis] version = "0.22.3" features = ["r2d2"] optional = true [dependencies.reqwest] version = "0.11.14" features = ["json"] [dependencies.rsa] version = "0.8.2" features = ["pem"] [dependencies.serde] version = "1.0.137" features = ["derive"] [dependencies.serde_json] version = "1.0.81" [dependencies.sha2] version = "0.10.6" [dependencies.syn] version = "1.0.107" features = ["full"] [dependencies.thiserror] version = "1.0.37" [dependencies.thotp] version = "0.1.11" [dependencies.tokio] version = "1.24.2" [dependencies.tracing] version = "0.1.35" [dependencies.tracing-test] version = "0.2.3" [dependencies.uuid] version = "1.1.2" features = ["v4"] [features] db = [ "dep:diesel", "dep:mongodb", "dep:r2d2", "dep:redis", ] default = ["full"] diesel = ["dep:diesel"] email = ["dep:lettre"] full = [ "db", "email", "ws", ] mongo = ["dep:mongodb"] redis = [ "dep:r2d2", "dep:redis", ] ws = [ "dep:actix", "dep:actix-web-actors", ]