Decision Workspace
jni-macros vs jni_fn vs jvmti-bindings
Side-by-side comparison of Rust crates
49
jni-macros
experimentalv0.22.4
Procedural macros for the jni crate
44
jni_fn
growingv0.1.2
JNI-compatible method signature generator
61
jvmti-bindings
growingv3.0.2
Complete JNI and JVMTI bindings for Rust with zero third-party crate dependencies. Build JVM agents in pure Rust.
Core Metrics
| jni-macros | jni_fn | jvmti-bindings | |
|---|---|---|---|
| Health Score | 49 | 44 | 61 |
| Total Downloads | 46.9M | 284.7K | 1.8K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 6 | 15 | 0 |
| Releases | 3 | 3 | 15 |
| Last Updated | 207d ago | 1152d ago | 52d ago |
| Age | 7m | 4y 11m | 8m |
Health Breakdown
jni-macros
Maintenance
11
Quality
12
Community
8
Popularity
8
Documentation
10
jni_fn
Maintenance
4
Quality
14
Community
9
Popularity
7
Documentation
10
jvmti-bindings
Maintenance
16
Quality
20
Community
6
Popularity
4
Documentation
15
Technical Details
| jni-macros | jni_fn | jvmti-bindings | |
|---|---|---|---|
| Version | 0.22.4 | 0.1.2 | 3.0.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 9 | 4 | 0 |
| Crate Size | 64KB | 5KB | 333KB |
| Features | 0 | 0 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | — | — | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •jvmti-bindings leads with a health score of 61/100, but none of the options score above 80.
- •jni-macros has the most downloads (46.9M), suggesting wider adoption.
- •⚠ jni_fn has not been updated in over a year.
- •jni-macros, jni_fn are pre-1.0 — API may change.