Revert jni upgrade

This commit is contained in:
Ethan O'Brien
2026-06-28 15:04:14 -05:00
parent 87109005bb
commit dc9e19ead6
3 changed files with 179 additions and 87 deletions

View File

@@ -34,7 +34,7 @@ argon2 = "0.5.3"
rand_core = { version = "0.6", features = ["getrandom"] }
[target.aarch64-linux-android.dependencies]
jni = { version = "0.22.4", features = ["invocation", "default"], optional = true }
jni = { version = "0.21", features = ["invocation", "default"], optional = true }
[target.aarch64-apple-ios.dependencies]
objc2 = { version = "0.6.3", optional = true }
@@ -47,6 +47,6 @@ cc = "1.2"
[features]
library = ["jni", "objc2", "objc2-foundation"]
#[lib]
#crate-type = ["cdylib"]
#required-features = ["library"]
[lib]
crate-type = ["cdylib"]
required-features = ["library"]