#java #jni

macro j4rs_derive

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

1 unstable release

0.1.0 Jul 15, 2020

#46 in #jni

Download history 42/week @ 2023-06-01 250/week @ 2023-06-08 127/week @ 2023-06-15 151/week @ 2023-06-22 90/week @ 2023-06-29 151/week @ 2023-07-06 46/week @ 2023-07-13 29/week @ 2023-07-20 73/week @ 2023-07-27 21/week @ 2023-08-03 26/week @ 2023-08-10 27/week @ 2023-08-17 20/week @ 2023-08-24 47/week @ 2023-08-31 34/week @ 2023-09-07 34/week @ 2023-09-14

141 downloads per month
Used in javawithrust

MIT/Apache

8KB
94 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

~0.9–1.2MB
~30K SLoC