Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Introduce
ReadZipStreaming
trait (#62)
This renames/simplifies several traits and structs to be simpler. The trait and struct names are now consistent between `rc-zip-sync` and `rc-zip-tokio`, and they both have a new `ReadZipStreaming` trait with a `stream_zip_entries_throwing_caution_to_the_wind` method. This method relies on local file headers rather than central directory headers to perform decompression. It returns a `StreamingEntryReader`, which implements `Read` / `AsyncRead` respectively. Once the entry is fully read, moving on to the next entry can be done by calling `finish()`. More bugs have been found and more tests have been added, including for the streaming interface.
- Loading branch information