Decision Workspace
jni_fn vs jni-macros vs jvmti-bindings
Side-by-side comparison of Rust crates
43
jni_fn
growingv0.1.2
JNI-compatible method signature generator
51
jni-macros
experimentalv0.22.4
Procedural macros for the jni crate
63
jvmti-bindings
experimentalv2.2.1
Complete JNI and JVMTI bindings for Rust with zero dependencies by default. Build JVM agents in pure Rust.
Core Metrics
| jni_fn | jni-macros | jvmti-bindings | |
|---|---|---|---|
| Health Score | 43 | 51 | 63 |
| Total Downloads | 216.2K | 11.6M | 506 |
| 30d Downloads | 7.7K | 3.7M | 0 |
| Dependents | 13 | 6 | 0 |
| Releases | 3 | 3 | 11 |
| Last Updated | 1064d ago | 119d ago | 2d ago |
| Age | 4y 8m | 4m | 5m |
Health Breakdown
jni_fn
Maintenance
4
Quality
14
Community
9
Popularity
6
Documentation
10
jni-macros
Maintenance
13
Quality
12
Community
8
Popularity
8
Documentation
10
jvmti-bindings
Maintenance
19
Quality
20
Community
6
Popularity
3
Documentation
15
Technical Details
| jni_fn | jni-macros | jvmti-bindings | |
|---|---|---|---|
| Version | 0.1.2 | 0.22.4 | 2.2.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 9 | 3 |
| Crate Size | 5KB | 64KB | 97KB |
| Features | 0 | 0 | 5 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | — | 1.70 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •jvmti-bindings leads with a health score of 63/100, but none of the options score above 80.
- •jni-macros has the most downloads (11.6M), suggesting wider adoption.
- •⚠ jni_fn has not been updated in over a year.
- •jni_fn, jni-macros are pre-1.0 — API may change.