# 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 = "black-bagg"
version = "0.1.0"
authors = ["Black Bag Maintainers <maintainers@example.invalid>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ultra-secure, zero-trace, pure-Rust CLI vault for spies, journalists, and privacy maximalists."
readme = "README.md"
keywords = [
    "security",
    "vault",
    "password-manager",
    "cli",
    "zero-trace",
]
categories = [
    "command-line-utilities",
    "cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/black-bag/black-bag"

[features]
default = [
    "mlock",
    "pq",
]
fhe = []
fuzzing = []
mlock = ["dep:libc"]
pq = [
    "dep:ml-kem",
    "dep:kem",
]

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

[[bin]]
name = "black-bagg"
path = "src/main.rs"

[[test]]
name = "cli_smoke"
path = "tests/cli_smoke.rs"

[dependencies.anyhow]
version = "1"

[dependencies.argon2]
version = "0.5"

[dependencies.base32]
version = "0.5"

[dependencies.base64]
version = "0.22"

[dependencies.blake3]
version = "1"

[dependencies.chacha20poly1305]
version = "0.10"

[dependencies.chrono]
version = "0.4"
features = [
    "serde",
    "clock",
]

[dependencies.ciborium]
version = "0.2"
features = ["std"]

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

[dependencies.directories]
version = "5"

[dependencies.fd-lock]
version = "4"

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.is-terminal]
version = "0.4"

[dependencies.kem]
version = "0.3.0-pre.0"
optional = true

[dependencies.libc]
version = "0.2"
optional = true

[dependencies.ml-kem]
version = "0.3.0-pre"
features = [
    "std",
    "zeroize",
]
optional = true

[dependencies.rand]
version = "0.8"

[dependencies.rand_core]
version = "0.6"

[dependencies.rpassword]
version = "7"

[dependencies.secrecy]
version = "0.8"

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

[dependencies.serde_bytes]
version = "0.11"

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_with]
version = "3.8"

[dependencies.sha1]
version = "0.10"

[dependencies.sha2]
version = "0.10"

[dependencies.subtle]
version = "2.5"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "1"

[dependencies.totp-rs]
version = "5.7"
features = ["otpauth"]

[dependencies.typenum]
version = "1"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dependencies.zeroize]
version = "1.7"
features = ["derive"]

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.assert_fs]
version = "1.1"

[dev-dependencies.expectrl]
version = "0.8"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.serial_test]
version = "3"
