Make jni available to product and vendor

Bug: 270690570

Test: mma in external/rust/crates
Change-Id: Ib27b39740a22f3c5aabc2061a9132bc9bcad5d4d
1 file changed
tree: 693eeca1da484621a44e30f0b601716aae3d0ab1
  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. cargo2android.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