[package]
name = "softhsm2_pkcs11_loader"
version.workspace = true
authors.workspace = true
categories.workspace = true
edition.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
description = "Utimaco HSM PKCS#11 loader"

[lints]
workspace = true

[lib]
doctest = false

[dependencies]
cosmian_kms_base_hsm = { path = "../base_hsm", version = "5.22.0" }

[dev-dependencies]
libloading = { workspace = true }
pkcs11-sys = { workspace = true }

[features]
# Enable this feature to run softhsm2 tests (they require a softhsm2 HSM)
softhsm2 = []
