Decision Workspace
jni_macro vs jni vs jni-sys
Side-by-side comparison of Rust crates
34
jni_macro
growingv1.0.2
A macro library for simplifying JNI code generation in Rust, enabling easy execution of Rust code in Java.
68
jni
growingv0.22.4
Rust bindings to the JNI
64
jni-sys
growingv0.4.1
Rust definitions corresponding to jni.h
Core Metrics
| jni_macro | jni | jni-sys | |
|---|---|---|---|
| Health Score | 34 | 68 | 64 |
| Total Downloads | 2.3K | 100.3M | 76.2M |
| 30d Downloads | 5 | 7.6M | 7.2M |
| Dependents | 0 | 2.7K | 351 |
| Releases | 3 | 49 | 11 |
| Last Updated | 462d ago | 11d ago | 5d ago |
| Age | 1y 3m | 9y 4m | 10y 1m |
Health Breakdown
jni_macro
Maintenance
6
Quality
13
Community
3
Popularity
4
Documentation
8
jni
Maintenance
17
Quality
10
Community
18
Popularity
8
Documentation
15
jni-sys
Maintenance
16
Quality
12
Community
13
Popularity
8
Documentation
15
Technical Details
| jni_macro | jni | jni-sys | |
|---|---|---|---|
| Version | 1.0.2 | 0.22.4 | 0.4.1 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | non-standard | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 20 | 2 |
| Crate Size | 5KB | 199KB | 13KB |
| Features | 0 | 3 | 0 |
| Yanked % | 33.3% | 6.1% | 9.1% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.85.0 | 1.76.0 |
| Owners | 1 | 4 | 2 |
Links
Quick Verdict
- •jni leads with a health score of 68/100, but none of the options score above 80.
- •jni is depended on by 2.7K crates — strongest ecosystem trust.
- •⚠ jni_macro has not been updated in over a year.
- •jni, jni-sys are pre-1.0 — API may change.