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 Encoder struct for streaming data compression.
use ;
use Encoder;
Decompression
Streaming decompression can be achieved using the Decoder struct.
use ;
use Decoder;
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.