Decision Workspace
buffi vs buffi_macro vs capi
Side-by-side comparison of Rust crates
62
buffi
growingv0.3.10+rust.1.94.0
A tool to generate ergonomic, buffer-based C++ APIs.
70
buffi_macro
growingv0.3.10
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 | 62 | 70 | 33 |
| Total Downloads | 55.7K | 56.0K | 5.8K |
| 30d Downloads | 3.2K | 3.2K | 2 |
| Dependents | 0 | 11 | 0 |
| Releases | 20 | 19 | 3 |
| Last Updated | 17d ago | 17d ago | 3759d ago |
| Age | 1y 4m | 1y 4m | 11y 1m |
Health Breakdown
buffi
Maintenance
21
Quality
12
Community
10
Popularity
6
Documentation
13
buffi_macro
Maintenance
21
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.10+rust.1.94.0 | 0.3.10 | 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 | 24KB | 11KB | 2KB |
| Features | 4 | 3 | 0 |
| Yanked % | 5.0% | 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 70/100, but none of the options score above 80.
- •⚠ capi has not been updated in over a year.