Decision Workspace
simd-brotli vs brotli vs brotli-decompressor
Side-by-side comparison of Rust crates
A brotli compressor and decompressor with an interface avoiding the rust stdlib, so it suits embedded devices and kernels. A fork of `brotli` whose encoder hot paths are vectorized with `fearless_simd`, giving runtime-dispatched SIMD on stable Rust with no unsafe code. 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 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
| simd-brotli | brotli | brotli-decompressor | |
|---|---|---|---|
| Health Score | 55 | 79 | 69 |
| Total Downloads | 371 | 284.8M | 286.7M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 11.0K | 951 |
| Releases | 7 | 55 | 41 |
| Last Updated | 51d ago | 38d ago | 15d ago |
| Age | 1m | 10y 10m | 9y 5m |
Health Breakdown
Technical Details
| simd-brotli | brotli | brotli-decompressor | |
|---|---|---|---|
| Version | 10.0.1 | 9.0.0 | 6.0.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | BSD-3-Clause AND MIT | BSD-3-Clause AND MIT | BSD-3-Clause/MIT |
| Dependencies | 7 | 5 | 2 |
| Crate Size | 656KB | 756KB | 247KB |
| Features | 18 | 18 | 9 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2015 | — |
| MSRV | 1.89.0 | 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.