增加jni模块

This commit is contained in:
lubeilin
2023-07-05 23:37:30 +08:00
parent 50e97fd95f
commit a6050e5f59
5 changed files with 374 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
[package]
name = "switch-jni"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
switch = {path="../switch"}
jni = { version = "0.21.1", default-features = false }
[lib]
crate-type = ["staticlib", "cdylib"]