Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jni-rs/jni-rs
Rust bindings to the Java Native Interface — JNI
https://github.com/jni-rs/jni-rs
java jni rust
Last synced: 3 days ago
JSON representation
Rust bindings to the Java Native Interface — JNI
- Host: GitHub
- URL: https://github.com/jni-rs/jni-rs
- Owner: jni-rs
- License: apache-2.0
- Created: 2016-11-04T23:22:21.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-18T01:02:55.000Z (8 months ago)
- Last Synced: 2024-12-17T17:04:47.604Z (10 days ago)
- Topics: java, jni, rust
- Language: Rust
- Homepage:
- Size: 892 KB
- Stars: 1,271
- Watchers: 16
- Forks: 162
- Open Issues: 81
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE-APACHE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-list - jni-rs - rs | 522 | (Rust)
README
[![Build Status](https://github.com/jni-rs/jni-rs/workflows/CI/badge.svg)](https://github.com/jni-rs/jni-rs/actions)
[![Docs](https://docs.rs/jni/badge.svg)](https://docs.rs/jni)
[![Crates.io](https://img.shields.io/crates/v/jni.svg)](https://crates.io/crates/jni)# JNI Bindings for Rust
[![Join the chat at https://gitter.im/jni-rs/Lobby](https://badges.gitter.im/jni-rs/Lobby.svg)](https://gitter.im/jni-rs/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
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 librariesSee the [docs](https://docs.rs/jni) for more details.
## Example
```shell
cd example
make
```## Contribution
See the [Contribution Guide](CONTRIBUTING.md) for details.
## License
Licensed under either of
* Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)at your option.