| [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"] |