Upgrade jni to 0.21.1

This project was upgraded with external_updater.
Usage: tools/external_updater/updater.sh update external/rust/crates/jni
For more info, check https://cs.android.com/android/platform/superproject/+/main:tools/external_updater/README.md

Test: TreeHugger
Change-Id: Ie9a5aa910facc39ae45337b846c0c88ded3ddab7
69 files changed
tree: f184ec389bc5a9b415fa85b8430e8a87e3c6d9e7
  1. .github/
  2. 0.20.0/
  3. benches/
  4. docs/
  5. example/
  6. patches/
  7. src/
  8. tests/
  9. .cargo_vcs_info.json
  10. .gitignore
  11. Android.bp
  12. Cargo.toml
  13. Cargo.toml.orig
  14. cargo_embargo.json
  15. CHANGELOG.md
  16. clippy.toml
  17. CODE_OF_CONDUCT.md
  18. CONTRIBUTING.md
  19. LICENSE-APACHE
  20. LICENSE-MIT
  21. METADATA
  22. MODULE_LICENSE_APACHE2
  23. OWNERS
  24. README.md
  25. TEST_MAPPING
  26. 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