Skip to content

chore(deps): update lzma-rust2 requirement from 0.23.0 to 0.24.0 - #371

Merged
kylebarron merged 1 commit into
mainfrom
dependabot/cargo/lzma-rust2-0.24.0
Oct 29, 2026
Merged

kylebarron merged 1 commit into
mainfrom
dependabot/cargo/lzma-rust2-0.24.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 28, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on lzma-rust2 to permit the latest version.

Changelog

Sourced from lzma-rust2's changelog.

0.24.0 - 2026-10-25

Added

  • Add MicroLzmaEncoder to encode independent MicroLZMA streams with reused allocations, including compress_prefix to encode the longest prefix that fits a given output buffer.

Fixed

  • Count the bytes a failed process() call consumed and produced in total_in and total_out of XzStream, LzipStream, LzmaStream and Lzma2Stream.
  • Reject unaligned stream padding at the end of the input in XzReader, like XzStream does.
  • Count XZ stream padding bytes in an u64 so the counter cannot overflow

0.23.0 - 2026-10-18

Added

  • Add xz_uncompressed_size to read the uncompressed size of XZ data from its stream indexes, without decoding it.
  • Add optional strict completion and deferred error delivery to LzmaReader.
  • Add XzStream::set_stop_after_stream_header and XzStream::streams_started to read the check type of every concatenated stream.

Changed

  • Breaking change: LzipStream::new and LzipStream::new_mem_limit take allow_multiple_members, like XzStream.

Fixed

  • Reject XZ blocks in XzReaderMt that do not end at the index before allocating them.
  • Read any number of empty XZ streams in XzReader without growing the call stack.
  • Read any number of empty XZ blocks in XzReaderMt without growing the call stack.
  • Read the XZ index record by record without collecting the records in memory.
  • Finish Lzma2ReaderMt on empty input with empty output.

0.22.0 - 2026-10-11

Added

  • Add a bounded, streaming Bcj2Writer with four raw outputs and configurable branch conversion limits.
  • Add Bcj2Reader::finish for strict input completion.
  • Add Bcj2Reader::try_new for checked stream counts.
  • Add LzipReaderMt::new_mem_limit to limit decoder and member-buffer memory per LZIP member.
  • Add cooperative cancellation to Lzma2WriterMt, reported as EncoderCancelled.

Fixed

  • Allow the range encoder to defer more than 4 GiB of bytes in very long streams.
  • Bound pending worker jobs and ordered results in multi-threaded writers and the LZIP reader.
  • Join workers after completion, errors, and drop; return thread-spawn failures as I/O errors.

... (truncated)

Commits
  • 88f1832 chore: prepare release v0.24.0
  • 35c370e chore: remove silent overflow and update CHANGELOG.md
  • aeee26c fix: count XZ stream padding bytes in a u64 so the counter cannot overflow
  • 89dc033 Align XzReader with XzStream on trailing stream padding (#141)
  • 3cfdf6b refactor(enc): simplify MicroLZMA API and reset handling
  • 9af4e85 feat(enc): add reusable MicroLZMA encoder with bounded-prefix support
  • b3cefe9 Test that Lzma2Stream counts a cut stream before the error
  • 027f29a Count what a failed process call consumed and produced
  • See full diff in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 show <dependency name> 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)

Updates the requirements on [lzma-rust2](https://github.com/hasenbanck/lzma-rust2) to permit the latest version.
- [Changelog](https://github.com/hasenbanck/lzma-rust2/blob/master/CHANGELOG.md)
- [Commits](hasenbanck/lzma-rust2@v0.23.0...v0.24.0)

---
updated-dependencies:
- dependency-name: lzma-rust2
  dependency-version: 0.24.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Oct 28, 2026
@ds-release-bot ds-release-bot Bot added the chore label Oct 28, 2026
@kylebarron
kylebarron merged commit f211e5c into main Oct 29, 2026
17 checks passed
@kylebarron
kylebarron deleted the dependabot/cargo/lzma-rust2-0.24.0 branch October 29, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant