blob: 2a4b9f7ebdda0e587370ad3e32e939617c2df8ed [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" }
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
spin.workspace = true
jni.workspace = true
log = { workspace = true, features = ["std"] }
[features]
default = ["rustcrypto"]
openssl = ["dep:crypto_provider_openssl"]
rustcrypto = ["dep:crypto_provider_rustcrypto"]
[lib]
crate_type = ["cdylib"]