Decision Workspace
nostd-printf vs brotli vs brotli-decompressor
Side-by-side comparison of Rust crates
Rust crate containing an embedded version of printf which can be used in `no_std` projects which aren't linked to `libc`.
A brotli compressor and decompressor that with an interface avoiding the rust stdlib. This makes it suitable for embedded devices and kernels. It is designed with a pluggable allocator so that the standard lib's allocator may be employed. The default build also includes a stdlib allocator and stream interface. Disable this with --features=no-stdlib. All included code is safe.
A brotli decompressor that with an interface avoiding the rust stdlib. This makes it suitable for embedded devices and kernels. It is designed with a pluggable allocator so that the standard lib's allocator may be employed. The default build also includes a stdlib allocator and stream interface. Disable this with --features=no-stdlib. Alternatively, --features=unsafe turns off array bounds checks and memory initialization but provides a safe interface for the caller. Without adding the --features=unsafe argument, all included code is safe. For compression in addition to this library, download https://github.com/dropbox/rust-brotli
Core Metrics
| nostd-printf | brotli | brotli-decompressor | |
|---|---|---|---|
| Health Score | 55 | 79 | 69 |
| Total Downloads | 36.8K | 284.8M | 286.7M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 3 | 11.0K | 951 |
| Releases | 5 | 55 | 41 |
| Last Updated | 525d ago | 38d ago | 15d ago |
| Age | 1y 5m | 10y 10m | 9y 5m |
Health Breakdown
Technical Details
| nostd-printf | brotli | brotli-decompressor | |
|---|---|---|---|
| Version | 0.1.4 | 9.0.0 | 6.0.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | BSD-3-Clause AND MIT | BSD-3-Clause/MIT |
| Dependencies | 4 | 5 | 2 |
| Crate Size | 20KB | 756KB | 247KB |
| Features | 1 | 18 | 9 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2015 | — |
| MSRV | 1.85 | 1.59.0 | — |
| Owners | 1 | 3 (team) | 1 |
Links
Quick Verdict
- •brotli leads with a health score of 79/100, but none of the options score above 80.
- •brotli-decompressor has the most downloads (286.7M), suggesting wider adoption.
- •brotli is depended on by 11.0K crates — strongest ecosystem trust.
- •⚠ nostd-printf has not been updated in over a year.
- •nostd-printf is pre-1.0 — API may change.