Skip to content

chore(deps): update lzma-rust2 requirement from 0.24.0 to 0.25.0 - #372

Merged
kylebarron merged 1 commit into
mainfrom
dependabot/cargo/lzma-rust2-0.25.0
Nov 4, 2026
Merged

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 4, 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.25.0 - 2026-11-01

Added

  • Add memory_usage to XzStream, LzmaStream, LzipStream and Lzma2Stream to read the memory the decoder needs.
  • Add mem_limit and set_mem_limit to XzStream, LzmaStream, LzipStream and Lzma2Stream. A memory limit error no longer fails the stream, so raising the limit and calling process again continues.

Fixed

  • Accept stream padding after the end of the stream in XzReaderMt, like XzReader and XzStream do.
  • Report non-zero block and index padding as corrupt data in XzStream as soon as the byte arrives, like XzReader does.
  • Accept a valid stream in XzReader when the inner reader returns the block padding in more than one read.
  • Retry an interrupted read in XzReader while it reads the stream padding and magic bytes of a following stream.
  • Retry an interrupted read in LzmaReader and LzipReader in no_std builds, like the std builds do.
  • Make Lzma2Stream report a chunk that produced all its output without using up its compressed size as corrupt data consistently, also when Action::Finish comes on its own after the input was taken.
  • Report a stream cut short of the byte its range coder still needs after the last symbol as truncated in Lzma2Stream, not as corrupt data.
  • Reject a chunk whose compressed size ends before its range coder is done in Lzma2Stream, like Lzma2Reader does.

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

... (truncated)

Commits
  • bb2fff6 chore: release v0.25.0
  • 2383885 Report a chunk owing its last range coder byte as corrupt when it declares mo...
  • f88edbd Reject a chunk whose compressed size ends before the range coder is done
  • 4c22ef1 Tell a chunk cut short of its last byte from one with bytes left over
  • eec1967 Reject a finished LZMA2 chunk with compressed bytes left over after the input...
  • d92dbe1 Report the output decoded before a memory limit error
  • aac7bc2 Let a stream decoder continue after a memory limit error
  • 8d3461b Expose the memory a stream decoder needs
  • c196d26 Check block padding byte by byte in XzReader
  • 63045d2 Check index padding byte by byte in XzReader
  • Additional commits viewable 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.24.0...v0.25.0)

---
updated-dependencies:
- dependency-name: lzma-rust2
  dependency-version: 0.25.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 Nov 4, 2026
@ds-release-bot ds-release-bot Bot added the chore label Nov 4, 2026
@kylebarron
kylebarron merged commit c61b3a1 into main Nov 4, 2026
17 checks passed
@kylebarron
kylebarron deleted the dependabot/cargo/lzma-rust2-0.25.0 branch November 4, 2026 23:27
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