#jni #java #proc-macro

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

#75 in #jni

Download history 651/week @ 2024-07-21 540/week @ 2024-07-28 863/week @ 2024-08-04 513/week @ 2024-08-11 1056/week @ 2024-08-18 931/week @ 2024-08-25 741/week @ 2024-09-01 708/week @ 2024-09-08 1076/week @ 2024-09-15 516/week @ 2024-09-22 504/week @ 2024-09-29 827/week @ 2024-10-06 1154/week @ 2024-10-13 1423/week @ 2024-10-20 771/week @ 2024-10-27 2027/week @ 2024-11-03

5,380 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

~265–720KB
~17K SLoC