# 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 = "nitor-vault"
version = "1.5.0"
authors = [
    "Kalle Ahlström <kalle.ahlstrom@nitor.com",
    "Akseli Lukkarila <akseli.lukkarila@nitor.com>",
]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Encrypted AWS key-value storage utility."
readme = "README.md"
keywords = [
    "secrets",
    "s3",
    "cli",
]
license = "Apache-2.0"
repository = "https://github.com/nitorcreations/vault"

[profile.release]
lto = "thin"

[lib]
name = "nitor_vault"
path = "src/lib.rs"

[[bin]]
name = "vault"
path = "src/main.rs"

[dependencies.aes-gcm]
version = "0.10.3"

[dependencies.anyhow]
version = "1.0.91"

[dependencies.aws-config]
version = "1.5.8"
features = ["behavior-version-latest"]

[dependencies.aws-sdk-cloudformation]
version = "1.51.1"

[dependencies.aws-sdk-kms]
version = "1.47.0"

[dependencies.aws-sdk-s3]
version = "1.57.0"

[dependencies.aws-sdk-sts]
version = "1.46.0"
features = ["behavior-version-latest"]

[dependencies.base64]
version = "0.22.1"

[dependencies.clap]
version = "4.5.20"
features = [
    "derive",
    "env",
]

[dependencies.clap_complete]
version = "4.5.33"

[dependencies.colored]
version = "2.1.0"

[dependencies.dirs]
version = "5.0.1"

[dependencies.rand]
version = "0.8.5"

[dependencies.serde]
version = "1.0.213"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.132"

[dependencies.thiserror]
version = "1.0.65"

[dependencies.tokio]
version = "1.41.0"
features = ["full"]

[lints.clippy]
enum_glob_use = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
unwrap_used = "deny"

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"
