Decision Workspace
jnix-macros vs jni vs jni-simple
Side-by-side comparison of Rust crates
48
jnix-macros
growingv0.4.1
Companion crate to jnix that provides proc-macros for interfacing JNI with Rust
61
jni
growingv0.22.4
Rust bindings to the JNI
55
jni-simple
growingv0.4.0
Simple Rust binding for JNI (Java Native Interface) and JVMTI (JVM Tool Interface)
Core Metrics
| jnix-macros | jni | jni-simple | |
|---|---|---|---|
| Health Score | 48 | 61 | 55 |
| Total Downloads | 278.5K | 205.6M | 37.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 28 | 4.5K | 0 |
| Releases | 11 | 49 | 17 |
| Last Updated | 1485d ago | 207d ago | 67d ago |
| Age | 6y 10m | 9y 11m | 2y 3m |
Health Breakdown
jnix-macros
Maintenance
4
Quality
14
Community
14
Popularity
7
Documentation
9
jni
Maintenance
10
Quality
10
Community
18
Popularity
8
Documentation
15
jni-simple
Maintenance
15
Quality
17
Community
6
Popularity
5
Documentation
12
Technical Details
| jnix-macros | jni | jni-simple | |
|---|---|---|---|
| Version | 0.4.1 | 0.22.4 | 0.4.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 OR MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 20 | 3 |
| Crate Size | 11KB | 199KB | 159KB |
| Features | 0 | 3 | 5 |
| Yanked % | 0.0% | 6.1% | 0.0% |
| Edition | 2018 | 2024 | 2024 |
| MSRV | — | 1.85.0 | 1.88.0 |
| Owners | 2 (team) | 4 | 1 |
Links
Quick Verdict
- •jni leads with a health score of 61/100, but none of the options score above 80.
- •jni is depended on by 4.5K crates — strongest ecosystem trust.
- •⚠ jnix-macros has not been updated in over a year.