Crates.io | jni_helper |
lib.rs | jni_helper |
version | |
source | src |
created_at | 2024-10-19 09:50:33.911599 |
updated_at | 2024-10-19 14:19:09.439241 |
description | java function descriptor generate |
homepage | |
repository | https://github.com/pingfanH/jni_helper |
max_upload_size | |
id | 1415227 |
Cargo.toml error: | TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
use jni_helper;
fn main() {
jni_helper::kt("your/path/RustNative.kt","your/bin/kotlinc.bat","src/kt_jni.rs");//kt
jni_helper::java("your/path/RustNative.java","your/bin/kotlinc.bat","src/java_jni.rs");//java
jni_helper::custom("your/path/RustNative.kt",vec!["your/bin/javac","-d","classes/java","-encoding","UTF-8"],"src/java_jni.rs");//custom
}