Decision Workspace
buffi vs buffi_macro vs capi
Side-by-side comparison of Rust crates
63
buffi
growingv0.3.12+rust.1.95.0
A tool to generate ergonomic, buffer-based C++ APIs.
69
buffi_macro
growingv0.3.12
A proc-macro to generate ergonomic, buffer-based C++ APIs.
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.
Core Metrics
| buffi | buffi_macro | capi | |
|---|---|---|---|
| Health Score | 63 | 69 | 33 |
| Total Downloads | 62.1K | 62.5K | 5.8K |
| 30d Downloads | 3.0K | 3.1K | 0 |
| Dependents | 0 | 13 | 0 |
| Releases | 22 | 21 | 3 |
| Last Updated | 31d ago | 31d ago | 3818d ago |
| Age | 1y 6m | 1y 6m | 11y 3m |
Health Breakdown
buffi
Maintenance
20
Quality
14
Community
10
Popularity
6
Documentation
13
buffi_macro
Maintenance
20
Quality
17
Community
13
Popularity
6
Documentation
13
capi
Maintenance
3
Quality
10
Community
5
Popularity
4
Documentation
11
Technical Details
| buffi | buffi_macro | capi | |
|---|---|---|---|
| Version | 0.3.12+rust.1.95.0 | 0.3.12 | 0.0.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | BSD-2-Clause |
| Dependencies | 9 | 3 | 0 |
| Crate Size | 25KB | 11KB | 2KB |
| Features | 4 | 3 | 0 |
| Yanked % | 4.5% | 0.0% | 100.0% |
| Edition | 2024 | 2024 | — |
| MSRV | — | — | — |
| Owners | 2 (team) | 2 (team) | 2 |
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.