Releases: Majored/rs-async-zip
Releases · Majored/rs-async-zip
v0.0.18
Release notes:
- 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.
- Removes ZipEntryBuilder::sizes(), replacing with separate compressed and uncompressed setters.
- Deletes the ZIP APPNOTE which was previously included in the repository as it's disallowed from redistribution.
- Fixes the EOCDR locator potentially skipping bytes if
read()calls didn't fully fill the internal buffer. - Introduces ZipFileWriter's
write_entry_whole_precompressed()andwrite_entry_stream_precompressed(), allowing for pre-compressed data to be provided. - Added
compress()andcrc32()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.
v0.0.17
-
Re-introduce support for reading entries with data descriptors within
read::stream- 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
read::stream's documentation, does not and cannot support the combination of data descriptor + Stored compression mode.
- 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
-
Swap AsyncRead requirement for AsyncBufRead
- AsyncBufRead is a transitive requirement of
async-compressionand we previously created internalBufReaders. Moving this requirement up the chain allows you to specify customAsyncBufReadimplementations or customise BufReader's buffer size where needed. - This was a needed step to simplify internal logic and allow the above
read::streamdata descriptor changes. Buffering viaBufReaderor similar was always a good idea, even prior to this change, so we don't expect this to negatively impact too many users.
- AsyncBufRead is a transitive requirement of
-
Adds a ZipDateTime builder
- Previously, the only way to obtain this type was via the
chronointegration/feature, or by receiving one when reading an entry.
- Previously, the only way to obtain this type was via the
v0.0.16
- Swaps out futures-util for futures-lite.
- Adds
defalate64support via its associated feature flag. - Adds
header_size()forStoredZipEntry, with the caveat that it uses the extra field length stored within the central directory record. - Adds support for handling UTF-8 extra fields.
- Various bug fixes related to Zip64 support.
v0.0.11
v0.0.10
v0.0.9
v0.0.8
Version 0.0.7
v0.0.7 Bump version
Version 0.0.6
v0.0.6 Bump version
Version 0.0.5
v0.0.5 Bump version