My searches have found:
The flate library, based on miniz. Edit: as Mark Adler points out, this is a zlib library, but does not deal with gzip headers.
Snappy bindings, which don't compile on modern Rust.
Edit: there is now flate2, libflate and deflate.
So I combined dbaupp's and Mark Adler's advice, and created a gzip-decompressor: https://github.com/alexcrichton/rust-compress/pull/30
However, it turns out that Mr Crichton already wrote a gzip layer: https://github.com/alexcrichton/flate2-rs
For now, those two options exist; it remains to be seen what ends up as the standard Rust solution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With