Decision Workspace
brotli-no-stdlib vs brotli vs brotli-decompressor
Side-by-side comparison of Rust crates
A brotli decompressor that does not use 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. For users wishing to use the stdlib, the brotli package, which calls into and abstracts this package, is recommended.
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
| brotli-no-stdlib | brotli | brotli-decompressor | |
|---|---|---|---|
| Health Score | 39 | 72 | 59 |
| Total Downloads | 15.2K | 162.1M | 161.8M |
| 30d Downloads | 9 | 12.8M | 13.0M |
| Dependents | 1 | 6.1K | 409 |
| Releases | 4 | 52 | 36 |
| Last Updated | 3568d ago | 223d ago | 342d ago |
| Age | 9y 10m | 10y 4m | 8y 11m |
Health Breakdown
Technical Details
| brotli-no-stdlib | brotli | brotli-decompressor | |
|---|---|---|---|
| Version | 1.0.4 | 8.0.2 | 5.0.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | BSD-3-Clause/MIT | BSD-3-Clause AND MIT | BSD-3-Clause/MIT |
| Dependencies | 1 | 4 | 2 |
| Crate Size | 9.1MB | 742KB | 195KB |
| Features | 1 | 16 | 8 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 2015 | — |
| MSRV | — | 1.59.0 | — |
| Owners | 1 | 3 (team) | 1 |
Links
Quick Verdict
- •brotli leads with a health score of 72/100, but none of the options score above 80.
- •brotli is depended on by 6.1K crates — strongest ecosystem trust.
- •⚠ brotli-no-stdlib has not been updated in over a year.