flate2-rs
flate2-rs copied to clipboard
DEFLATE, gzip, and zlib bindings for Rust
I have a gzip json file that I did not create that I am using flate2 and serde_json to parse and transform. When I run my code over the unzipped...
(simple forwarding)
Hello Is there a reason why `total_in(&self)` / `total_out(&self)` isn't implemented for Gzip decoders/encoders? It is present for both Zlib and Deflate and could be really useful for monitoring progress...
Greetings! It would be very nice to have a method to get the current position in compressed file: this way it's possible to calculate/display progress of file processing since we...
Zopfli, Google's implementation of a slow high-compression-ratio Deflate encoder, has a Rust port. (The interface is to call https://docs.rs/zopfli/latest/zopfli/fn.compress.html# with https://docs.rs/zopfli/latest/zopfli/enum.Format.html#variant.Deflate. The guts of the implementation are at https://docs.rs/zopfli/latest/src/zopfli/deflate.rs.html.) It...
Currently the `GzDecoder` `new` method eagerly attempts to read the header information in the constructor. It has `match` statements for if the io should be non-blocking, but in general this...
The flate2 ZLibDecoder seems to read too much data and advance file pointers too far. Parsing a raw file filled with individual hunks of zlib compressed data: * 80-22216 Zlib...

If I switch to use `libz-rs` as the backend (instead of `libz-ng`) for https://github.com/VorpalBlade/paketkoll I get all of these errors: ```console ❯ RUST_BACKTRACE=1 cargo run -- --trust-mtime check Finished `dev`...