tpm2-device 1.1.0

TPM 2.0 device interface
Documentation
# 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"
rust-version = "1.95"
name = "tpm2-device"
version = "1.1.0"
authors = ["Jarkko Sakkinen <jarkko@kernel.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TPM 2.0 device interface"
homepage = "https://gitlab.com/jarkkojs/tpm2-library"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://gitlab.com/jarkkojs/tpm2-library"

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

[dependencies.hex]
version = "0.4"

[dependencies.log]
version = "0.4"

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

[dependencies.rand]
version = "0.8"

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

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

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

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

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

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