feat: v1.0.2, add feature harden_process

This commit is contained in:
2024-11-20 01:47:32 +08:00
parent 5e6694c53e
commit c939490f0e
4 changed files with 10 additions and 7 deletions

View File

@@ -1,13 +1,14 @@
[package]
name = "local-mini-kms"
version = "1.0.1"
version = "1.0.2"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["yubikey"]
default = ["yubikey", "harden_process"]
yubikey = ["yubico_manager"]
harden_process = ["secmem-proc", "procfs"]
[dependencies]
zeroize = "1.8"
@@ -19,7 +20,7 @@ lazy_static = "1.5"
serde_derive = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
secmem-proc = "0.3"
secmem-proc = { version = "0.3", optional = true }
seckey = "0.12"
rust_util = { version = "0.6", features = ["use_clap"] }
tokio = { version = "1.37", features = ["full"] }
@@ -35,4 +36,4 @@ aes-gcm-stream = "0.2"
jose-jwk = "0.1"
[target.'cfg(target_os = "linux")'.dependencies]
procfs = "0.13"
procfs = { version = "0.13", optional = true }