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

#6 in FFI

Download history 368042/week @ 2024-07-01 370590/week @ 2024-07-08 369293/week @ 2024-07-15 391523/week @ 2024-07-22 368188/week @ 2024-07-29 369712/week @ 2024-08-05 426972/week @ 2024-08-12 450993/week @ 2024-08-19 451540/week @ 2024-08-26 422000/week @ 2024-09-02 475772/week @ 2024-09-09 417884/week @ 2024-09-16 508800/week @ 2024-09-23 491631/week @ 2024-09-30 577688/week @ 2024-10-07 524132/week @ 2024-10-14

2,117,639 downloads per month
Used in 2,491 crates (158 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–14MB
~107K SLoC