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 389078/week @ 2024-07-21 369337/week @ 2024-07-28 367603/week @ 2024-08-04 427971/week @ 2024-08-11 447017/week @ 2024-08-18 455402/week @ 2024-08-25 423959/week @ 2024-09-01 475533/week @ 2024-09-08 415627/week @ 2024-09-15 508339/week @ 2024-09-22 492704/week @ 2024-09-29 575904/week @ 2024-10-06 525232/week @ 2024-10-13 733633/week @ 2024-10-20 735232/week @ 2024-10-27 726023/week @ 2024-11-03

2,741,862 downloads per month
Used in 2,539 crates (160 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
~108K SLoC