blob: 328400b2c5df6b764ba7f2ca5fc2a29b88f8af6e [file] [log] [blame]
[package]
name = "ukey2_c_ffi"
version.workspace = true
edition.workspace = true
publish.workspace = true
license.workspace = true
[dependencies]
ukey2_connections = { path = "../ukey2_connections" }
cfg-if.workspace = true
crypto_provider_default.workspace = true
lock_adapter = {workspace = true, features = ["spin"]}
lazy_static.workspace = true
log.workspace = true
rand.workspace = true
rand_chacha.workspace = true
[features]
default = ["rustcrypto", "std"]
std = ["lock_adapter/std"]
boringssl = ["crypto_provider_default/boringssl", "std"]
rustcrypto = ["crypto_provider_default/rustcrypto"]
[lib]
# Static lib is a bit large, resulting in quite a large test executable.
# This will be also shipped as a dynamic lib in most environments (I think) so good to replicate those conditions.
crate-type = ["cdylib"]