Decision Workspace
extern-c vs ffi-closure vs extern_attrib
Side-by-side comparison of Rust crates
52
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
29
extern_attrib
growingv0.2.0
Rust automatic ABI attribute macro: #[extern_auto]
Core Metrics
| extern-c | ffi-closure | extern_attrib | |
|---|---|---|---|
| Health Score | 52 | 45 | 29 |
| Total Downloads | 2.2M | 2.9K | 3.1K |
| 30d Downloads | 177.0K | 6 | 2 |
| Dependents | 178 | 0 | 0 |
| Releases | 2 | 2 | 2 |
| Last Updated | 932d ago | 684d ago | 3232d ago |
| Age | 2y 6m | 2y 1m | 8y 10m |
Health Breakdown
extern-c
Maintenance
4
Quality
18
Community
9
Popularity
8
Documentation
13
ffi-closure
Maintenance
4
Quality
21
Community
6
Popularity
4
Documentation
10
extern_attrib
Maintenance
3
Quality
9
Community
5
Popularity
4
Documentation
8
Technical Details
| extern-c | ffi-closure | extern_attrib | |
|---|---|---|---|
| Version | 0.1.0 | 1.1.0 | 0.2.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Zlib OR MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 0 | 2 | 2 |
| Crate Size | 10KB | 6KB | 3KB |
| Features | 4 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 100.0% |
| Edition | 2021 | 2021 | — |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •extern-c leads with a health score of 52/100, but none of the options score above 80.
- •extern-c is depended on by 178 crates — strongest ecosystem trust.
- •⚠ extern-c, ffi-closure, extern_attrib have not been updated in over a year.
- •extern-c, extern_attrib are pre-1.0 — API may change.