Decision Workspace
printf-compat vs printf-wrap vs vsprintf
Side-by-side comparison of Rust crates
64
printf-compat
growingv0.5.0
printf reimplemented in Rust
54
printf-wrap
growingv0.2.2
Types and functions for safely wrapping C functions with printf(3)-style format strings and varargs
51
vsprintf
growingv2.0.0
Rust bindings to the libc vsprintf function
Core Metrics
| printf-compat | printf-wrap | vsprintf | |
|---|---|---|---|
| Health Score | 64 | 54 | 51 |
| Total Downloads | 164.2K | 5.7K | 7.7M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 122 | 1 | 148 |
| Releases | 8 | 4 | 4 |
| Last Updated | 8d ago | 354d ago | 2292d ago |
| Age | 5y 10m | 4y 2m | 9y 3m |
Health Breakdown
printf-compat
Maintenance
15
Quality
17
Community
14
Popularity
6
Documentation
12
printf-wrap
Maintenance
6
Quality
17
Community
12
Popularity
4
Documentation
15
vsprintf
Maintenance
2
Quality
20
Community
9
Popularity
8
Documentation
12
Technical Details
| printf-compat | printf-wrap | vsprintf | |
|---|---|---|---|
| Version | 0.5.0 | 0.2.2 | 2.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 2 | 2 | 2 |
| Crate Size | 18KB | 19KB | 3KB |
| Features | 2 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2018 |
| MSRV | 1.99 | 1.64.0 | — |
| Owners | 2 | 2 (team) | 1 |
Links
Quick Verdict
- •printf-compat leads with a health score of 64/100, but none of the options score above 80.
- •vsprintf has the most downloads (7.7M), suggesting wider adoption.
- •vsprintf is depended on by 148 crates — strongest ecosystem trust.
- •⚠ vsprintf has not been updated in over a year.
- •printf-compat, printf-wrap are pre-1.0 — API may change.