Decision Workspace
capi vs buffi_macro vs buffi
Side-by-side comparison of Rust crates
33
capi
growingv0.0.3
Helper methods for building a C API in Rust: passing ownership of Rust objects to C and back. NB: This will be obsolete once Box::from_raw/into_raw are stable.
69
buffi_macro
growingv0.3.12
A proc-macro to generate ergonomic, buffer-based C++ APIs.
63
buffi
growingv0.3.12+rust.1.95.0
A tool to generate ergonomic, buffer-based C++ APIs.
Core Metrics
| capi | buffi_macro | buffi | |
|---|---|---|---|
| Health Score | 33 | 69 | 63 |
| Total Downloads | 5.8K | 62.5K | 62.1K |
| 30d Downloads | 0 | 3.1K | 3.0K |
| Dependents | 0 | 13 | 0 |
| Releases | 3 | 21 | 22 |
| Last Updated | 3818d ago | 31d ago | 31d ago |
| Age | 11y 3m | 1y 6m | 1y 6m |
Health Breakdown
capi
Maintenance
3
Quality
10
Community
5
Popularity
4
Documentation
11
buffi_macro
Maintenance
20
Quality
17
Community
13
Popularity
6
Documentation
13
buffi
Maintenance
20
Quality
14
Community
10
Popularity
6
Documentation
13
Technical Details
| capi | buffi_macro | buffi | |
|---|---|---|---|
| Version | 0.0.3 | 0.3.12 | 0.3.12+rust.1.95.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | BSD-2-Clause | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 3 | 9 |
| Crate Size | 2KB | 11KB | 25KB |
| Features | 0 | 3 | 4 |
| Yanked % | 100.0% | 0.0% | 4.5% |
| Edition | — | 2024 | 2024 |
| MSRV | — | — | — |
| Owners | 2 | 2 (team) | 2 (team) |
Links
Quick Verdict
- •buffi_macro leads with a health score of 69/100, but none of the options score above 80.
- •⚠ capi has not been updated in over a year.