# 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 = "kms-aead" version = "0.19.2" authors = ["Abdulla Abdurakhmanov "] include = [ "Cargo.toml", "src/**/*.rs", "README.md", "LICENSE", "SECURITY.md", ] description = "KMS/AEAD envelope encryption for GCP/AWS KMS and Ring AEAD encryption" homepage = "https://github.com/abdolence/kms-aead-rs" documentation = "https://docs.rs/kms-aead" readme = "README.md" keywords = [ "kms", "google", "aws", "envelope", ] categories = [ "cryptography", "api-bindings", ] license = "Apache-2.0" repository = "https://github.com/abdolence/kms-aead-rs" [package.metadata.docs.rs] all-features = false features = [ "ring-aead-encryption", "gcp-kms-encryption", "aws-kms-encryption", "serde", ] [lib] name = "kms_aead" path = "src/lib.rs" bench = false [[example]] name = "aws_kms" path = "examples/aws_kms.rs" required-features = ["aws-kms-encryption"] [[example]] name = "gcp_kms" path = "examples/gcp_kms.rs" required-features = ["gcp-kms-encryption"] [[example]] name = "only_aead" path = "examples/only_aead.rs" required-features = ["ring-aead-encryption"] [dependencies.async-trait] version = "0.1" [dependencies.aws-config] version = "1" features = ["behavior-version-latest"] optional = true [dependencies.aws-sdk-kms] version = "1" optional = true [dependencies.chrono] version = "0.4.38" [dependencies.gcloud-sdk] version = "0.25" optional = true default-features = false [dependencies.hex] version = "0.4" [dependencies.ring] version = "0.17" features = [ "default", "std", ] optional = true [dependencies.rsb_derive] version = "0.5" [dependencies.rvstruct] version = "0.3" [dependencies.secret-vault-value] version = "0.3" [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.tokio] version = "1" features = ["full"] [dependencies.tracing] version = "0.1" [dev-dependencies.cargo-husky] version = "1.5" features = [ "run-for-all", "prepush-hook", "run-cargo-fmt", ] default-features = false [dev-dependencies.criterion] version = "0.5" features = [ "async", "async_futures", "cargo_bench_support", "html_reports", "futures", "tokio", "async_tokio", ] [dev-dependencies.proptest] version = "1.4" [dev-dependencies.serde_json] version = "1" [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [features] aws = ["dep:aws-config"] aws-kms-encryption = [ "aws", "dep:aws-sdk-kms", "ring-aead-encryption", ] default = [] gcp = ["gcloud-sdk"] gcp-kms-encryption = [ "gcp", "gcloud-sdk/google-cloud-kms-v1", "ring-aead-encryption", "gcloud-sdk/google-longrunning", "gcloud-sdk/tls-roots", ] gcp-kms-encryption-webpki = [ "gcp", "gcloud-sdk/google-cloud-kms-v1", "ring-aead-encryption", "gcloud-sdk/google-longrunning", "gcloud-sdk/tls-webpki-roots", ] ring-aead-encryption = ["dep:ring"] serde = [ "dep:serde", "chrono/serde", "secret-vault-value/serde", ] [badges.maintenance] status = "actively-developed"