tag:github.com,2008:https://github.com/Majored/rs-async-zip/releases Release notes from rs-async-zip 2025-08-09T20:54:16Z tag:github.com,2008:Repository/394926756/v0.0.18 2025-08-09T21:04:38Z v0.0.18 <p>Release notes:</p> <ul> <li>Start consuming a data descriptor for read::stream, removing a previous hard-error. Note that this data descriptor currently gets voided, meaning CRC/length checks do not get performed.</li> <li>Removes ZipEntryBuilder::sizes(), replacing with separate compressed and uncompressed setters.</li> <li>Deletes the ZIP APPNOTE which was previously included in the repository as it's disallowed from redistribution.</li> <li>Fixes the EOCDR locator potentially skipping bytes if <code>read()</code> calls didn't fully fill the internal buffer.</li> <li>Introduces ZipFileWriter's <code>write_entry_whole_precompressed()</code> and <code>write_entry_stream_precompressed()</code>, allowing for pre-compressed data to be provided.</li> <li>Added <code>compress()</code> and <code>crc32()</code> helpers in base::write to help with pre-compression. The specifics of these are likely to change in future versions. Added a CRC32 setter for ZipEntryBuilder also.</li> </ul> Majored tag:github.com,2008:Repository/394926756/v0.0.17 2024-04-03T09:45:46Z v0.0.17 <ul> <li> <p>Re-introduce support for reading entries with data descriptors within <code>read::stream</code></p> <ul> <li>Our previous implementation was overly complex and difficult to maintain, so was stripped out when switching to the type-driven API. This version re-introduces support for this, but as discussed within <code>read::stream</code>'s documentation, does not and cannot support the combination of data descriptor + Stored compression mode.</li> </ul> </li> <li> <p>Swap AsyncRead requirement for AsyncBufRead</p> <ul> <li>AsyncBufRead is a transitive requirement of <code>async-compression</code> and we previously created internal <code>BufReader</code>s. Moving this requirement up the chain allows you to specify custom <code>AsyncBufRead</code> implementations or customise BufReader's buffer size where needed.</li> <li>This was a needed step to simplify internal logic and allow the above <code>read::stream</code> data descriptor changes. Buffering via <code>BufReader</code> or similar was always a good idea, even prior to this change, so we don't expect this to negatively impact too many users.</li> </ul> </li> <li> <p>Adds a ZipDateTime builder</p> <ul> <li>Previously, the only way to obtain this type was via the <code>chrono</code> integration/feature, or by receiving one when reading an entry.</li> </ul> </li> </ul> Majored tag:github.com,2008:Repository/394926756/v0.0.16 2023-12-22T22:09:26Z v0.0.16 <ul> <li>Swaps out <a href="https://crates.io/crates/futures-util" rel="nofollow">futures-util</a> for <a href="https://crates.io/crates/futures-lite" rel="nofollow">futures-lite</a>.</li> <li>Adds <code>defalate64</code> support via its associated feature flag.</li> <li>Adds <code>header_size()</code> for <code>StoredZipEntry</code>, with the caveat that it uses the extra field length stored within the central directory record.</li> <li>Adds support for handling UTF-8 extra fields.</li> <li>Various bug fixes related to Zip64 support.</li> </ul> Majored tag:github.com,2008:Repository/394926756/v0.0.11 2023-01-18T13:56:15Z v0.0.11 No content. Majored tag:github.com,2008:Repository/394926756/v0.0.10 2023-01-13T12:35:22Z v0.0.10 No content. Majored tag:github.com,2008:Repository/394926756/v0.0.9 2022-10-13T23:51:24Z v0.0.9 <p>Merge pull request <a class="issue-link js-issue-link" href="https://github.com/Majored/rs-async-zip/pull/34">#34</a> from citreae535/main</p> <p>Add an example demonstrating how to safely extract ZIP files</p> Majored tag:github.com,2008:Repository/394926756/v0.0.8 2022-07-01T15:43:17Z v0.0.8 No content. Majored tag:github.com,2008:Repository/394926756/v0.0.7 2022-04-15T10:38:04Z Version 0.0.7 No content. Majored tag:github.com,2008:Repository/394926756/v0.0.6 2022-02-19T20:30:21Z Version 0.0.6 No content. Majored tag:github.com,2008:Repository/394926756/v0.0.5 2022-02-02T22:33:35Z Version 0.0.5 No content. Majored