Decision Workspace
extern_attrib vs extern-c vs ffi_helpers
Side-by-side comparison of Rust crates
29
extern_attrib
growingv0.2.0
Rust automatic ABI attribute macro: #[extern_auto]
52
extern-c
growingv0.1.0
Convert a zero-sized closure into an `extern "C" fn(…)` pointer
52
ffi_helpers
growingv0.3.0
A crate to help make working with FFI easier.
Core Metrics
| extern_attrib | extern-c | ffi_helpers | |
|---|---|---|---|
| Health Score | 29 | 52 | 52 |
| Total Downloads | 3.1K | 2.2M | 17.5M |
| 30d Downloads | 2 | 170.4K | 651.8K |
| Dependents | 0 | 178 | 74 |
| Releases | 2 | 2 | 3 |
| Last Updated | 3232d ago | 932d ago | 1614d ago |
| Age | 8y 10m | 2y 6m | 7y 11m |
Health Breakdown
extern_attrib
Maintenance
3
Quality
9
Community
5
Popularity
4
Documentation
8
extern-c
Maintenance
4
Quality
18
Community
9
Popularity
8
Documentation
13
ffi_helpers
Maintenance
3
Quality
15
Community
16
Popularity
8
Documentation
10
Technical Details
| extern_attrib | extern-c | ffi_helpers | |
|---|---|---|---|
| Version | 0.2.0 | 0.1.0 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | Zlib OR MIT OR Apache-2.0 | MIT |
| Dependencies | 2 | 0 | 3 |
| Crate Size | 3KB | 10KB | 15KB |
| Features | 0 | 4 | 0 |
| Yanked % | 100.0% | 0.0% | 0.0% |
| Edition | — | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 2 (team) |
Links
Quick Verdict
- •extern-c leads with a health score of 52/100, but none of the options score above 80.
- •ffi_helpers has the most downloads (17.5M), suggesting wider adoption.
- •extern-c is depended on by 178 crates — strongest ecosystem trust.
- •⚠ extern_attrib, extern-c, ffi_helpers have not been updated in over a year.