# 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 = "tumpa-cli"
version = "0.1.0"
build = false
include = [
    "src/**/*.rs",
    "completions/*",
    "tests/**/*.sh",
    "tests/keys/*.asc",
    "tests/keys/*.pub",
    "Cargo.toml",
    "Cargo.lock",
    "README.md",
    "LICENSE",
    "docs/**/*.md",
    "justfile",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OpenPGP operations and SSH agent backed by tumpa keystore."
readme = "README.md"
keywords = [
    "openpgp",
    "gpg",
    "encryption",
    "ssh",
    "pass",
]
categories = [
    "cryptography",
    "authentication",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/tumpaproject/tumpa-cli"

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22"

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

[dependencies.clap_complete]
version = "4"

[dependencies.dirs]
version = "6"

[dependencies.env_logger]
version = "0.11"

[dependencies.hex]
version = "0.4"

[dependencies.libc]
version = "0.2"

[dependencies.log]
version = "0.4"

[dependencies.p256]
version = "0.13"

[dependencies.p384]
version = "0.13"

[dependencies.p521]
version = "0.13"

[dependencies.pgp]
version = "0.19"

[dependencies.rpassword]
version = "7"

[dependencies.sha2]
version = "0.10"

[dependencies.ssh-agent-lib]
version = "0.5"

[dependencies.ssh-key]
version = "0.6"
features = [
    "p256",
    "p384",
    "p521",
]

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

[dependencies.wecanencrypt]
version = "0.9.0"
features = [
    "keystore",
    "card",
    "network",
]

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

[dev-dependencies.chrono]
version = "0.4"
