flate2-rs icon indicating copy to clipboard operation
flate2-rs copied to clipboard

DEFLATE, gzip, and zlib bindings for Rust

Results 44 flate2-rs issues
Sort by recently updated
recently updated
newest added
trafficstars

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...

help wanted

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...

question

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...

![image](https://github.com/rust-lang/flate2-rs/assets/29329767/f31b97a2-7474-44dc-8528-6c3474533c34)

bug
question

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`...

bug
help wanted

This adds the test from #434

question