#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 1/week @ 2023-12-22 29/week @ 2023-12-29 53/week @ 2024-01-05 40/week @ 2024-01-12 80/week @ 2024-01-19 84/week @ 2024-01-26 119/week @ 2024-02-02 113/week @ 2024-02-09 147/week @ 2024-02-16 167/week @ 2024-02-23 135/week @ 2024-03-01 195/week @ 2024-03-08 254/week @ 2024-03-15 278/week @ 2024-03-22 274/week @ 2024-03-29 778/week @ 2024-04-05

1,683 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

~315–760KB
~18K SLoC