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 364616/week @ 2024-07-30 385103/week @ 2024-08-06 427569/week @ 2024-08-13 453747/week @ 2024-08-20 416789/week @ 2024-08-27 470768/week @ 2024-09-03 455401/week @ 2024-09-10 432002/week @ 2024-09-17 512942/week @ 2024-09-24 505744/week @ 2024-10-01 547480/week @ 2024-10-08 575034/week @ 2024-10-15 768202/week @ 2024-10-22 704907/week @ 2024-10-29 756527/week @ 2024-11-05 611258/week @ 2024-11-12

2,967,960 downloads per month
Used in 2,602 crates (161 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–13MB
~106K SLoC