Decision Workspace
haproxy-brotli vs brotli vs brotli-decompressor
Side-by-side comparison of Rust crates
HAProxy filter for brotli compression support
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
| haproxy-brotli | brotli | brotli-decompressor | |
|---|---|---|---|
| Health Score | 33 | 79 | 69 |
| Total Downloads | 1.0K | 284.8M | 286.7M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 11.0K | 951 |
| Releases | 1 | 55 | 41 |
| Last Updated | 385d ago | 38d ago | 15d ago |
| Age | 1y | 10y 10m | 9y 5m |
Health Breakdown
Technical Details
| haproxy-brotli | brotli | brotli-decompressor | |
|---|---|---|---|
| Version | 0.1.0 | 9.0.0 | 6.0.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | BSD-3-Clause AND MIT | BSD-3-Clause/MIT |
| Dependencies | 3 | 5 | 2 |
| Crate Size | 11KB | 756KB | 247KB |
| Features | 0 | 18 | 9 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2015 | — |
| MSRV | — | 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.
- •⚠ haproxy-brotli has not been updated in over a year.
- •haproxy-brotli is pre-1.0 — API may change.