rust编写的jni库示例

14 lines
298 B

6 years ago
[package]
name = "mylib"
version = "0.1.0"
authors = ["richie <richie@fanruan.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
jni = { git = "https://github.com/prevoty/jni-rs" }
[lib]
crate_type = ["dylib"]