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.
Swap AsyncRead requirement for AsyncBufRead
AsyncBufRead is a transitive requirement of async-compression and we previously created internal BufReaders. Moving this requirement up the chain allows you to specify custom AsyncBufRead implementations or customise BufReader's buffer size where needed.
This was a needed step to simplify internal logic and allow the above read::stream data descriptor changes. Buffering via BufReader or similar was always a good idea, even prior to this change, so we don't expect this to negatively impact too many users.
Adds a ZipDateTime builder
Previously, the only way to obtain this type was via the chrono integration/feature, or by receiving one when reading an entry.
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps async_zip from 0.0.11 to 0.0.17.
Release notes
Sourced from async_zip's releases.
Commits
e4ee7a5
Bump version0c7f4bb
Add test case forZipDateTimeBuilder
9d642d7
Add a builder forZipDateTime
365f424
Run formatting0bf0fd0
Add data descriptor & stored error3a07c54
Add data descriptor reading for stream32cd802
Remove buffered central directory reading5f96273
Conversion cleanupb5a3cb6
Convert AsyncRead requirement to AsyncBufRead62e87ba
Update env_logger requirement from 0.10.0 to 0.11.2You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show