Decision Workspace
extern-c vs ffi-closure vs hicc-rs
Side-by-side comparison of Rust crates
53
extern-c
growingv0.1.0
Convert a zero-sized closure into an `extern "C" fn(…)` pointer
45
ffi-closure
growingv1.1.0
Send and recevie closures through FFI
45
hicc-rs
experimentalv0.1.2
Safe, efficient FFI between Rust and C/Python via C ABI with automatic binding generation
Core Metrics
| extern-c | ffi-closure | hicc-rs | |
|---|---|---|---|
| Health Score | 53 | 45 | 45 |
| Total Downloads | 2.8M | 2.9K | 52 |
| 30d Downloads | 76.0K | 0 | 0 |
| Dependents | 257 | 0 | 2 |
| Releases | 2 | 2 | 3 |
| Last Updated | 1040d ago | 792d ago | 1d ago |
| Age | 2y 10m | 2y 4m | 3d |
Health Breakdown
extern-c
Maintenance
4
Quality
18
Community
10
Popularity
8
Documentation
13
ffi-closure
Maintenance
4
Quality
21
Community
6
Popularity
4
Documentation
10
hicc-rs
Maintenance
14
Quality
15
Community
4
Popularity
2
Documentation
10
Technical Details
| extern-c | ffi-closure | hicc-rs | |
|---|---|---|---|
| Version | 0.1.0 | 1.1.0 | 0.1.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Zlib OR MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 0 | 2 | 5 |
| Crate Size | 10KB | 6KB | 61KB |
| Features | 4 | 1 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •extern-c leads with a health score of 53/100, but none of the options score above 80.
- •extern-c is depended on by 257 crates — strongest ecosystem trust.
- •⚠ extern-c, ffi-closure have not been updated in over a year.
- •extern-c, hicc-rs are pre-1.0 — API may change.