Decision Workspace
repr_c_wrapper vs safer-ffi vs stackbox
Side-by-side comparison of Rust crates
43
repr_c_wrapper
growingv0.1.1
Opaque `#[repr(C)]` wrapper that can be passed by value over FFI
54
safer-ffi
growingv0.1.13
Write safer FFI code in Rust without polluting it with unsafe code
49
stackbox
growingv0.2.2
`&own`ing references in stable Rust - no_std-friendly Box
Core Metrics
| repr_c_wrapper | safer-ffi | stackbox | |
|---|---|---|---|
| Health Score | 43 | 54 | 49 |
| Total Downloads | 2.6K | 3.8M | 70.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 1.4K | 9 |
| Releases | 2 | 38 | 13 |
| Last Updated | 1187d ago | 266d ago | 789d ago |
| Age | 3y 3m | 6y 4m | 5y 11m |
Health Breakdown
repr_c_wrapper
Maintenance
4
Quality
16
Community
6
Popularity
4
Documentation
13
safer-ffi
Maintenance
9
Quality
13
Community
12
Popularity
8
Documentation
12
stackbox
Maintenance
4
Quality
17
Community
9
Popularity
6
Documentation
13
Technical Details
| repr_c_wrapper | safer-ffi | stackbox | |
|---|---|---|---|
| Version | 0.1.1 | 0.1.13 | 0.2.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | Zlib OR MIT OR Apache-2.0 |
| Dependencies | 0 | 20 | 3 |
| Crate Size | 3KB | 92KB | 30KB |
| Features | 0 | 19 | 4 |
| Yanked % | 0.0% | 5.3% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.72.1 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •safer-ffi leads with a health score of 54/100, but none of the options score above 80.
- •safer-ffi is depended on by 1.4K crates — strongest ecosystem trust.
- •⚠ repr_c_wrapper, stackbox have not been updated in over a year.