Compression
This section covers algorithms for making data smaller.
Purpose | Rust Crate(s) |
---|---|
General Compression | flate2 ⮳ (zlib ⮳, gzip ⮳, deflate ⮳), miniz_oxide ⮳ (zlib), zstd ⮳ (Zstandard), lz4 ⮳ |
Specialized Compression | brotli ⮳ (Brotli), snap ⮳ (Snappy) |
Archiving | tar ⮳, zip ⮳ |
Working with Tarballs
Recipe | Crates | Categories |
---|---|---|
Compress a Directory into a Tarball | ||
Decompress a Tarball | ||
Decompress a Tarball While Removing a Prefix from the Paths |
Compression and Decompression
Recipe | Crates | Categories |
---|---|---|
Compress or Decompress Data with flate2 | ||
Compress or Decompress Data with zip and async-zip |
FIXME
Related Topics
Data Serialization is often used with compression: see Complex Encoding.