blob: 4852444e85012960218f0174c1509c8cb6d5ae38 [file] [log] [blame]
[package]
name = "ukey2_jni"
version.workspace = true
edition.workspace = true
publish.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
ukey2_connections = { path = "../ukey2_connections" }
ukey2_rs = { path = "../ukey2" }
lock_adapter = {workspace = true, features = ["spin"]}
cfg-if.workspace = true
crypto_provider_default = { workspace = true }
lazy_static.workspace = true
rand.workspace = true
rand_chacha.workspace = true
jni.workspace = true
log = { workspace = true, features = ["std"] }
[features]
default = ["rustcrypto"]
openssl = ["crypto_provider_default/openssl", "std"]
rustcrypto = ["crypto_provider_default/rustcrypto"]
boringssl = ["crypto_provider_default/boringssl"]
std = ["lock_adapter/std"]
[lib]
crate_type = ["cdylib"]