1 unstable release

0.5.0 Jun 7, 2024

#8 in #delta-encoding

Download history 132/week @ 2024-06-02 11/week @ 2024-06-09

143 downloads per month
Used in smdiff-merger

MIT license

46KB
936 lines

Notes on Secondary Compressors

In theory compression algorithms should know when they have reached the end of the compressed data to decompress. My issues were finding rust libraries that didn't simply read to EOF.

For some reason the zstd rust lib doesn't behave well. I enabled single frame, but it keeps trying to read non-compressed data. I ended up using the ruzstd crate.


lib.rs:

Re-exports the zstd streaming decoder used Re-exports the brotli decompressor reader used

Dependencies

~2MB
~33K SLoC