tag:github.com,2008:https://github.com/Majored/rs-async-zip/releasesRelease notes from rs-async-zip2025-08-09T20:54:16Ztag:github.com,2008:Repository/394926756/v0.0.182025-08-09T21:04:38Zv0.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>Majoredtag:github.com,2008:Repository/394926756/v0.0.172024-04-03T09:45:46Zv0.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>Majoredtag:github.com,2008:Repository/394926756/v0.0.162023-12-22T22:09:26Zv0.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>Majoredtag:github.com,2008:Repository/394926756/v0.0.112023-01-18T13:56:15Zv0.0.11No content.Majoredtag:github.com,2008:Repository/394926756/v0.0.102023-01-13T12:35:22Zv0.0.10No content.Majoredtag:github.com,2008:Repository/394926756/v0.0.92022-10-13T23:51:24Zv0.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>Majoredtag:github.com,2008:Repository/394926756/v0.0.82022-07-01T15:43:17Zv0.0.8No content.Majoredtag:github.com,2008:Repository/394926756/v0.0.72022-04-15T10:38:04ZVersion 0.0.7No content.Majoredtag:github.com,2008:Repository/394926756/v0.0.62022-02-19T20:30:21ZVersion 0.0.6No content.Majoredtag:github.com,2008:Repository/394926756/v0.0.52022-02-02T22:33:35ZVersion 0.0.5No content.Majored