Migrate to cargo_embargo. am: e790bbd85d am: 56768c5db5 am: 333e019ee7

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

Change-Id: I969c30353d4836e0a06165ab0455cf796ace466e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
tree: da4fe6705d87c59b0dc8b89be2b010e729b04b6d
  1. .github/
  2. .vscode/
  3. benches/
  4. example/
  5. src/
  6. tests/
  7. .gitignore
  8. Android.bp
  9. build.rs
  10. Cargo.toml
  11. Cargo.toml.orig
  12. cargo_embargo.json
  13. CHANGELOG.md
  14. clippy.toml
  15. CODE_OF_CONDUCT.md
  16. CONTRIBUTING.md
  17. LICENSE-APACHE
  18. LICENSE-MIT
  19. METADATA
  20. MODULE_LICENSE_APACHE2
  21. OWNERS
  22. README.md
  23. TEST_MAPPING
  24. 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