crates/keyfork: build bindgen static as well

This commit is contained in:
Ryan Heywood 2024-03-04 22:24:36 -05:00
parent 62f63e90ea
commit 37f63fd63a
Signed by: ryan
GPG Key ID: 8E401478A3FBEF72
2 changed files with 25 additions and 0 deletions

24
Cargo.lock generated
View File

@ -399,6 +399,29 @@ dependencies = [
"syn 2.0.48",
]
[[package]]
name = "bindgen"
version = "0.69.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0"
dependencies = [
"bitflags 2.4.2",
"cexpr",
"clang-sys",
"itertools",
"lazy_static",
"lazycell",
"log",
"prettyplease",
"proc-macro2",
"quote",
"regex",
"rustc-hash",
"shlex",
"syn 2.0.48",
"which",
]
[[package]]
name = "bip39"
version = "2.0.0"
@ -1671,6 +1694,7 @@ dependencies = [
name = "keyfork"
version = "0.1.0"
dependencies = [
"bindgen 0.69.4",
"card-backend-pcsc",
"clang-sys",
"clap",

View File

@ -47,3 +47,4 @@ openpgp-card = "0.4.1"
clap_complete = { version = "4.4.6", optional = true }
sequoia-openpgp = { version = "1.17.0", default-features = false, features = ["compression"] }
clang-sys = { version = "1.7.0", optional = true }
bindgen = { version = "0.69.4", optional = true, features = ["static"] }