# 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 = "restapi" version = "1.1.14" authors = ["Jay Johnson "] exclude = [ "base.Dockerfile", "derived.Dockerfile", "build-base.sh", "build-derived.sh", "deploy-tls-assets.sh", "docker/*", "charts/*", "notes/*", "target/*", ] description = "A secure-by-default rest api using hyper, tokio, bb8, kafka-threadpool, postgres, and prometheus for monitoring" homepage = "https://docs.rs/restapi/latest/restapi/" documentation = "https://docs.rs/restapi" readme = "README.md" keywords = [ "rest_api", "secure_by_default", "encryption", "hyper", "tokio", ] categories = [ "asynchronous", "database", "web-programming", "web-programming::http-server", "authentication", ] license = "MIT" repository = "https://github.com/jay-johnson/restapi" [lib] name = "restapi" path = "src/lib.rs" [dependencies.bb8] version = "0.8.0" [dependencies.bb8-postgres] version = "0.8.1" [dependencies.chrono] version = "^0.4.22" [dependencies.futures] version = "^0.3.24" [dependencies.hyper] version = "^0.14.20" features = [ "http1", "http2", "server", "stream", "runtime", ] [dependencies.jsonwebtoken] version = "^8.1.1" [dependencies.kafka-threadpool] version = "^1.0.12" [dependencies.lazy_static] version = "^1.4" [dependencies.log] version = "^0.4.17" [dependencies.native-tls] version = "^0.2.10" [dependencies.openssl] version = "0.10.41" features = ["vendored"] [dependencies.postgres] version = "^0.19.4" features = [ "with-geo-types-0_7", "array-impls", "with-chrono-0_4", "with-bit-vec-0_6", "with-serde_json-1", "with-eui48-1", "with-uuid-0_8", "with-time-0_3", ] [dependencies.postgres-native-tls] version = "^0.5.0" [dependencies.pretty_env_logger] version = "^0.4.0" [dependencies.prometheus] version = "^0.13.2" [dependencies.prometheus-static-metric] version = "^0.5.1" [dependencies.rusoto_core] version = "^0.48.0" [dependencies.rusoto_s3] version = "^0.48.0" [dependencies.rust-argon2] version = "^1.0.0" [dependencies.rustls] version = "^0.20.6" features = [ "tls12", "quic", ] [dependencies.rustls-pemfile] version = "^1.0.1" [dependencies.serde] version = "^1.0.145" features = ["derive"] [dependencies.serde_json] version = "^1.0.85" [dependencies.tokio] version = "^1.21.1" features = [ "rt-multi-thread", "macros", ] [dependencies.tokio-postgres] version = "^0.7.7" features = [ "with-uuid-0_8", "with-chrono-0_4", "with-serde_json-1", "runtime", ] [dependencies.tokio-rustls] version = "^0.23.4" [dependencies.tokio-test] version = "^0.4.2" [dependencies.url] version = "^2.3.1" [dependencies.uuid] version = "^1.1.2" features = [ "serde", "v4", "v5", ]