Initial commit for jni crate. am: 8a909c0599 am: 0f7b58728e am: fe278ea86e am: c27a7bde01

Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/jni/+/1804156

Change-Id: I81cdcaea653ae41511a42c4122f1508c58f90480
tree: b8d6fe47723f280eae3b8be353a2f3ca85911f63
  1. benches/
  2. example/
  3. src/
  4. tests/
  5. build.rs
  6. Cargo.toml
  7. Cargo.toml.orig
  8. CHANGELOG.md
  9. clippy.toml
  10. CODE_OF_CONDUCT.md
  11. CONTRIBUTING.md
  12. LICENSE-APACHE
  13. LICENSE-MIT
  14. METADATA
  15. MODULE_LICENSE_APACHE2
  16. OWNERS
  17. README.md
  18. test_profile
README.md

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