crates/keyfork: allow building with static, ideal for stagex

This commit is contained in:
Ryan Heywood 2024-03-04 22:05:32 -05:00
parent 752138bd35
commit 62f63e90ea
Signed by: ryan
GPG Key ID: 8E401478A3FBEF72
2 changed files with 4 additions and 0 deletions

1
Cargo.lock generated
View File

@ -1672,6 +1672,7 @@ name = "keyfork"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"card-backend-pcsc", "card-backend-pcsc",
"clang-sys",
"clap", "clap",
"clap_complete", "clap_complete",
"keyfork-bin", "keyfork-bin",

View File

@ -11,6 +11,8 @@ default = [
"sequoia-crypto-backend-nettle", "sequoia-crypto-backend-nettle",
] ]
static = ["clang-sys/static"]
completion = ["dep:clap_complete"] completion = ["dep:clap_complete"]
qrcode-decode-backend-rqrr = ["keyfork-qrcode/decode-backend-rqrr"] qrcode-decode-backend-rqrr = ["keyfork-qrcode/decode-backend-rqrr"]
@ -44,3 +46,4 @@ openpgp-card-sequoia = { version = "0.2.0", default-features = false }
openpgp-card = "0.4.1" openpgp-card = "0.4.1"
clap_complete = { version = "4.4.6", optional = true } clap_complete = { version = "4.4.6", optional = true }
sequoia-openpgp = { version = "1.17.0", default-features = false, features = ["compression"] } sequoia-openpgp = { version = "1.17.0", default-features = false, features = ["compression"] }
clang-sys = { version = "1.7.0", optional = true }