# 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 = "ncryptf-rs" version = "0.3.2" authors = ["Charles R. Portwood II "] description = "Secure API authentication and end to end encryption." readme = "README.md" categories = [ "cryptography", "authentication", "api-bindings", ] license = "BSD-3-Clause" repository = "https://github.com/ncryptf/ncryptf-rs" [package.metadata.docs.rs] all-features = true targets = [ "x86_64-unknown-linux-gnu", "aarch64-unknown-linux-gnu", ] [lib] name = "ncryptf" [dependencies.anyhow] version = "^1.0" optional = true [dependencies.async-recursion] version = "^1.0" optional = true [dependencies.async-std] version = "^1.12" optional = true [dependencies.async-trait] version = "^0.1" optional = true [dependencies.base64] version = "^0.13" [dependencies.chrono] version = "=0.4.30" [dependencies.constant_time_eq] version = "^0.3" [dependencies.hex] version = "^0.4" [dependencies.hkdf] version = "0.12.3" [dependencies.hmac] version = "^0.12" [dependencies.libsodium-sys-stable] version = "^1.20" [dependencies.rand] version = "^0.8" [dependencies.reqwest] version = "^0.11" features = [ "json", "rustls-tls", "brotli", "gzip", "stream", ] optional = true default-features = false [dependencies.rocket] version = "^0.5" features = [ "tls", "secrets", "json", ] optional = true [dependencies.rocket_db_pools] version = "^0.1" features = ["deadpool_redis"] optional = true [dependencies.rocket_dyn_templates] version = "^0.1" features = ["handlebars"] optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" features = ["raw_value"] [dependencies.sha2] version = "^0.10" [dependencies.sha256] version = "1.0.3" [dependencies.thiserror] version = "^1.0" [dependencies.tracing] version = "^0.1" [dev-dependencies.redis] version = "^0.21" [dev-dependencies.reqwest] version = "^0.11" features = [ "json", "blocking", ] default-features = false [features] client = [ "dep:reqwest", "dep:async-recursion", ] default = [] rocket = [ "dep:rocket", "dep:rocket_db_pools", "dep:async-trait", "dep:rocket_dyn_templates", "anyhow", ] [badges.github] repository = "https://github.com/ncryptf/ncryptf-rs"