Zeekstd
Rust implementation of the Zstandard Seekable Format.
The seekable format splits compressed data into a series of independent "frames", each compressed individually, so that decompression of a section in the middle of an archive only requires zstd to decompress at most a frame's worth of extra data, instead of the entire archive.
Compression
Use the Compressor struct for streaming data compression.
use ;
use Compressor;
Decompression
Streaming decompression can be achieved using the Decompressor struct.
use ;
use Decompressor;
CLI
This repo also contains a CLI tool for the seekable format that is packaged in nixpkgs.
License
- The zstd C library is under a dual BSD/GPLv2 license.
- Zeekstd is under a BSD 2-Clause License.