Crates / compression-codecs / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to compression-codecs
Short answerThe closest alternatives to compression-codecs on crates.io data are zstd-sys (1.1M real downloads a day), zip (977K real downloads a day), leb128fmt (630K real downloads a day). Of the 8 we list, the most used is mio, and 7 shipped a release in the last year. compression-codecs itself gets 543,190 a day with 5 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs compression-codecs | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| zstd-sys Pulled in | 1,052,310 | 1.94x | 57 | 8d | category Compression, keyword "compression", keyword "zstd" | compare |
| zip Widely used | 977,272 | 1.80x | 4,151 | 7d | category Compression, keyword "compression" | compare |
| leb128fmt Pulled in | 629,549 | 1.16x | 4 | 3.1y | category Compression, keyword "compression" | compare |
| zopfli Pulled in | 554,646 | 1.02x | 25 | 13d | category Compression, keyword "compression" | compare |
| brotli-decompressor Pulled in | 832,021 | 1.53x | 74 | 3d | keyword "brotli" | compare |
| lz4_flex Established | 475,029 | 0.87x | 717 | 3mo | keyword "compression" | compare |
| snap Established | 318,500 | 0.59x | 318 | 3mo | keyword "compression" | compare |
| mio Established | 3,332,252 | 6.13x | 624 | 21d | category Asynchronous | compare |
How to choose
- Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with compression-codecs; read its description before you swap.
- More dependents means more answered questions and a smaller chance it disappears.
- Check the last release against how fast you need fixes. For compression-codecs: is it still maintained?
Rules
Alternatives = tracked crates (top 1000 by downloads) that share a specific crates.io category (2 points each) or keyword (3 points each) with compression-codecs, most similar first; its own parts (same name prefix) and crates it depends on or that depend on it are left out, because those are companions, not substitutes. Real downloads = quiet-day median, crates.io data Oct 24, 2026. Built when we find 3 or more.
Up next
The closest alternative: Few direct dependents and steady. 1,052,310 real downloads a day.zstd-sysRust crate. Low-level bindings for the zstd compression library. Real use: 1.1M downloads a day on quiet days; 57 crates depend on it.Read it next →Also worth your time