# 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 = "2024"
name = "passman-rs"
version = "1.0.0"
authors = ["jawadelfidali@gmail.com"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A secure, memory-safe password manager written in Rust"
readme = "README.md"
keywords = [
    "password-manager",
    "security",
    "encryption",
    "cli",
]
categories = [
    "command-line-utilities",
    "cryptography",
]
license = "MIT"
repository = "https://github.com/jawadtik06/passman"

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.arboard]
version = "3.2"

[dependencies.argon2]
version = "0.5"

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

[dependencies.clap]
version = "4.4"
features = [
    "derive",
    "color",
]

[dependencies.console]
version = "0.15"

[dependencies.dialoguer]
version = "0.11"

[dependencies.rand]
version = "0.8"

[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]

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

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "1.0"

[dependencies.zeroize]
version = "1.7"

[dev-dependencies.tempfile]
version = "3.27.0"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
