1[package] 2name = "ukey2_c_ffi" 3version.workspace = true 4edition.workspace = true 5publish.workspace = true 6 7[dependencies] 8ukey2_connections = { path = "../ukey2_connections" } 9cfg-if.workspace = true 10crypto_provider_default.workspace = true 11lock_adapter = {workspace = true, features = ["spin"]} 12 13lazy_static.workspace = true 14log.workspace = true 15rand.workspace = true 16rand_chacha.workspace = true 17 18[features] 19default = ["rustcrypto", "std"] 20std = ["lock_adapter/std"] 21boringssl = ["crypto_provider_default/boringssl", "std"] 22rustcrypto = ["crypto_provider_default/rustcrypto"] 23 24 25[lib] 26# Static lib is a bit large, resulting in quite a large test executable. 27# This will be also shipped as a dynamic lib in most environments (I think) so good to replicate those conditions. 28crate_type = ["cdylib"] 29