[dependencies.bitflags]
version = "2.10.0"
[dependencies.cryptoki-sys]
version = "0.5.0"
[dependencies.libloading]
version = "0.8.9"
[dependencies.log]
version = "0.4.28"
[dependencies.paste]
version = "1.0.15"
[dependencies.secrecy]
version = "0.10.3"
[dev-dependencies.hex]
version = "0.4.3"
[dev-dependencies.serial_test]
version = "3.2.0"
[dev-dependencies.testresult]
version = "0.4.1"
[[example]]
name = "generate_key_pair"
path = "examples/generate_key_pair.rs"
[features]
generate-bindings = ["cryptoki-sys/generate-bindings"]
serde = ["secrecy/serde"]
[lib]
name = "cryptoki"
path = "src/lib.rs"
[package]
authors = ["Contributors to the Parsec project"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["api-bindings", "external-ffi-bindings", "cryptography", "hardware-support"]
description = "Rust-native wrapper around the PKCS #11 API"
documentation = "https://docs.rs/crate/cryptoki"
edition = "2021"
keywords = ["pkcs11", "cryptoki", "hsm"]
license = "Apache-2.0"
name = "cryptoki"
readme = "README.md"
repository = "https://github.com/parallaxsecond/rust-cryptoki"
rust-version = "1.77"
version = "0.11.0"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "ml_dsa"
path = "tests/ml_dsa.rs"
[[test]]
name = "ml_kem"
path = "tests/ml_kem.rs"
[[test]]
name = "slh_dsa"
path = "tests/slh_dsa.rs"