# 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"
rust-version = "1.81"
name = "tpm2sh"
version = "0.16.19"
authors = ["Jarkko Sakkinen <jarkko@kernel.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TPM 2.0 command-line interface"
homepage = "https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/tpm2sh.git/about/?h=main"
readme = "README.md"
license = "GPL-3.0-or-later"
repository = "https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/tpm2sh.git"

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

[[test]]
name = "integration"
path = "tests/integration.rs"
harness = true

[dependencies.clap]
version = "4.5"
features = [
    "std",
    "color",
    "help",
    "usage",
    "error-context",
    "derive",
]
default-features = false

[dependencies.ctrlc]
version = "3.4"

[dependencies.directories]
version = "5.0"

[dependencies.hex]
version = "0.4"

[dependencies.indicatif]
version = "0.17"
default-features = false

[dependencies.libc]
version = "0.2.177"

[dependencies.log]
version = "0.4"

[dependencies.nix]
version = "0.29"
features = [
    "fs",
    "poll",
]

[dependencies.openssl]
version = "0.10"

[dependencies.pem]
version = "3.0"

[dependencies.rand]
version = "0.8"

[dependencies.strum]
version = "0.26"
features = ["derive"]

[dependencies.tabled]
version = "0.15"
features = [
    "std",
    "derive",
    "ansi",
]
default-features = false

[dependencies.thiserror]
version = "1.0"

[dependencies.tpm2-crypto]
version = "0.11.2"

[dependencies.tpm2-device]
version = "0.5.7"

[dependencies.tpm2-policy-language]
version = "0.10.8"

[dependencies.tpm2-protocol]
version = "0.16.4"

[dependencies.tpm2-tpmkey]
version = "0.11.8"

[dependencies.tpm2-vtpm]
version = "0.6.3"

[dependencies.tracing]
version = "0.1"
features = ["std"]
default-features = false

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "fmt",
    "env-filter",
    "tracing-log",
]
default-features = false

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

[dev-dependencies.duct]
version = "0.13"

[dev-dependencies.predicates]
version = "3.0"

[dev-dependencies.rstest]
version = "0.23"

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