blob: 7a399d38109523fe3efc9b2022b5ef3dd6e18bab [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
cfg-if.workspace = true
crypto_provider_openssl = { workspace = true, optional = true }
crypto_provider_rustcrypto = { workspace = true, optional = true, features = [ "alloc" ] }
lazy_static.workspace = true
rand.workspace = true
rand_chacha.workspace = true
jni.workspace = true
log = { workspace = true, features = ["std"] }
[features]
default = ["rustcrypto"]
openssl = ["dep:crypto_provider_openssl", "std"]
rustcrypto = ["crypto_provider_rustcrypto"]
std = ["lock_adapter/std", "crypto_provider_rustcrypto/std"]
crypto_provider_rustcrypto = ["dep:crypto_provider_rustcrypto"]
[lib]
crate_type = ["cdylib"]