#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

#79 in #jni

Download history 3518/week @ 2024-11-08 1664/week @ 2024-11-15 2640/week @ 2024-11-22 785/week @ 2024-11-29 1039/week @ 2024-12-06 1001/week @ 2024-12-13 231/week @ 2024-12-20 114/week @ 2024-12-27 233/week @ 2025-01-03 805/week @ 2025-01-10 503/week @ 2025-01-17 490/week @ 2025-01-24 397/week @ 2025-01-31 222/week @ 2025-02-07 86/week @ 2025-02-14

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

~230–680KB
~16K SLoC