Decision Workspace
cinrs vs cinrs-macros vs libffi
Side-by-side comparison of Rust crates
51
cinrs
experimentalv0.2.0
Write C code inside Rust: procedural macros that translate a C translation unit to Rust
53
cinrs-macros
experimentalv0.2.0
The procedural macros of the cinrs crate: c99!, gnu11!, include_c99! and the other entry points
75
libffi
stablev5.2.0
Rust bindings for libffi
Core Metrics
| cinrs | cinrs-macros | libffi | |
|---|---|---|---|
| Health Score | 51 | 53 | 75 |
| Total Downloads | 33 | 41 | 3.7M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 2 | 660 |
| Releases | 2 | 2 | 48 |
| Last Updated | 8d ago | 8d ago | 56d ago |
| Age | 18d | 18d | 10y 4m |
Health Breakdown
cinrs
Maintenance
13
Quality
15
Community
6
Popularity
2
Documentation
15
cinrs-macros
Maintenance
13
Quality
16
Community
7
Popularity
2
Documentation
15
libffi
Maintenance
15
Quality
23
Community
17
Popularity
8
Documentation
12
Technical Details
| cinrs | cinrs-macros | libffi | |
|---|---|---|---|
| Version | 0.2.0 | 0.2.0 | 5.2.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 2 | 3 |
| Crate Size | 42KB | 12KB | 36KB |
| Features | 3 | 2 | 5 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.99 | 1.99 | 1.78 |
| Owners | 1 | 1 | 4 |
Links
Quick Verdict
- •libffi leads with a health score of 75/100, but none of the options score above 80.
- •libffi is depended on by 660 crates — strongest ecosystem trust.
- •cinrs, cinrs-macros are pre-1.0 — API may change.