rust-lang / flate2-rs

DEFLATE, gzip, and zlib bindings for Rust
https://docs.rs/flate2
Apache License 2.0
929 stars 163 forks source link

Add write::MultiGzDecoder for multi-member gzip data #325

Closed jongiddy closed 1 year ago

jongiddy commented 2 years ago

Add a MultiGzDecoder with a Write interface to match the MultiGzEncoder available in read and bufread.

jongiddy commented 2 years ago

@alexcrichton @joshtriplett - This repo has been quiet recently so I hope you don't mind a ping, and that you are the right people to ping.

This PR adds a standalone feature without changing existing code, so is hopefully as simple as a yes or no decision. Note that if you intend to approve both this PR and #324 then the docs for this new MultiGzDecoder will be inconsistent with the existing MultiGzDecoders. So perhaps merge one and ask the other to make them consistent again.

I'm also looking to get #323 merged, as it fixes a bug. But that required some more complicated rewriting, essentially continuing the changes from #278. So likely requires more effort to review.

alexcrichton commented 2 years ago

Sorry but I've handed off maintainership here to the Rust libs crate maintainers team. I'd recommend reaching out on Zulip to them.