Skip to content

chore: bump lzma-rust2 from 0.24.0 to 0.25.0 - #84

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 15, 2026

Copy link
Copy Markdown
Contributor

Bumps lzma-rust2 from 0.24.0 to 0.25.0.

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.
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 compatibility score

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)

Bumps [lzma-rust2](https://github.com/hasenbanck/lzma-rust2) from 0.24.0 to 0.25.0.
- [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
  update-type: version-update:semver-minor
...

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 15, 2026
@eitsupi
eitsupi merged commit e352513 into main Nov 15, 2026
31 checks passed
@eitsupi
eitsupi deleted the dependabot/cargo/lzma-rust2-0.25.0 branch November 15, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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