#jni #java #proc-macro #api-bindings

macro j4rs_derive

The proc macro crate for j4rs that allows jni calls to Rust libraries

2 releases

0.1.1 Apr 9, 2024
0.1.0 Jul 15, 2020

#52 in #jni

Download history 80/week @ 2024-01-27 132/week @ 2024-02-03 101/week @ 2024-02-10 185/week @ 2024-02-17 152/week @ 2024-02-24 107/week @ 2024-03-02 206/week @ 2024-03-09 270/week @ 2024-03-16 271/week @ 2024-03-23 280/week @ 2024-03-30 927/week @ 2024-04-06 271/week @ 2024-04-13 1110/week @ 2024-04-20 1154/week @ 2024-04-27 451/week @ 2024-05-04 1618/week @ 2024-05-11

4,386 downloads per month
Used in javawithrust

MIT/Apache

7KB
93 lines

j4rs_derive

The proc macro crate for j4rs that allows jni calls to Rust libraries.

It provides the call_from_java attribute. The functions annotated with it, can be called from Java code using JNI.

For more information and examples please see here and here.

Dependencies

~310–770KB
~18K SLoC