43 releases

0.21.1 Mar 15, 2023
0.20.0 Oct 18, 2022
0.19.0 Feb 6, 2021
0.18.0 Oct 25, 2020
0.2.0 Nov 29, 2016

#7 in FFI

Download history 168797/week @ 2023-11-21 203698/week @ 2023-11-28 226397/week @ 2023-12-05 192887/week @ 2023-12-12 161941/week @ 2023-12-19 103871/week @ 2023-12-26 183373/week @ 2024-01-02 191672/week @ 2024-01-09 220802/week @ 2024-01-16 214118/week @ 2024-01-23 216689/week @ 2024-01-30 217375/week @ 2024-02-06 203769/week @ 2024-02-13 254602/week @ 2024-02-20 254125/week @ 2024-02-27 198656/week @ 2024-03-05

951,719 downloads per month
Used in 1,610 crates (130 directly)

MIT/Apache

320KB
5.5K SLoC

Build Status Docs Crates.io

JNI Bindings for Rust

Join the chat at https://gitter.im/jni-rs/Lobby

This project provides complete JNI bindings for Rust, allowing to:

  • Implement native Java methods for JVM and Android in Rust
  • Call Java code from Rust
  • Embed JVM in Rust applications and use any Java libraries

See the docs for more details.

Example

cd example
make

Contribution

See the Contribution Guide for details.

License

Licensed under either of

Dependencies

~1–15MB
~134K SLoC