# 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 = "tpm2-crypto"
version = "0.9.0"
authors = ["Jarkko Sakkinen <jarkko@kernel.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TPM 2.0 cryptographic routines"
homepage = "https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/tpm2-crypto.git/about"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/tpm2-crypto.git"

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

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

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

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

[dependencies.num-bigint]
version = "0.4"
features = ["rand"]

[dependencies.num-traits]
version = "0.2"

[dependencies.openssl]
version = "0.10"

[dependencies.rand]
version = "0.8"

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

[dependencies.thiserror]
version = "1.0"

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

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

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