feat: init commit,fork from google native-pkcs11

This commit is contained in:
2024-07-06 19:06:25 +08:00
parent 27039d66bb
commit 33f33d2aa6
43 changed files with 34868 additions and 10 deletions

37
native-pkcs11/Cargo.toml Normal file
View File

@@ -0,0 +1,37 @@
[package]
name = "native-pkcs11"
version = "0.2.18"
description = "Cross-platform PKCS#11 module written in rust. Can be extended with custom credential backends."
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
repository.workspace = true
license.workspace = true
[features]
custom-function-list = []
[dependencies]
cached = { version = "0.51.4", default-features = false }
native-pkcs11-core = { version = "^0.2.14", path = "../native-pkcs11-core" }
native-pkcs11-traits = { version = "0.2.0", path = "../native-pkcs11-traits" }
once_cell = "1.19.0"
pkcs11-sys = { version = "0.2.0", path = "../pkcs11-sys" }
thiserror = "1.0.61"
tracing = "0.1.40"
tracing-error = "0.2.0"
tracing-journald = "0.3"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
native-pkcs11-piv = { version = "0.2.0", path = "../native-pkcs11-piv" }
[lib]
name = "yubikey_piv_pkcs11"
crate-type = ["lib", "cdylib"]
[dev-dependencies]
serial_test = { version = "3.1.1", default-features = false }
tracing = { version = "0.1.40", default-features = false }
tracing-subscriber = { version = "0.3.18", default-features = false, features = [
"env-filter",
] }