Skip to content

Bump lzma-rust2 from 0.24.0 to 0.26.0 - #933

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/lzma-rust2-0.26.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/lzma-rust2-0.26.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026

Copy link
Copy Markdown
Contributor

Bumps lzma-rust2 from 0.24.0 to 0.26.0.

Changelog

Sourced from lzma-rust2's changelog.

0.26.0 - 2026-11-25

Added

  • Add set_progress to Lzma2WriterMt, XzWriterMt and LzipWriterMt to count the uncompressed bytes passed to the encoder, on targets with 64-bit atomics. Thanks @​leehunz (#151)

Fixed

  • Reject an LZMA2 chunk that may not follow the one before it as soon as its control byte arrives in Lzma2Stream and Lzma2Reader, instead of reporting a stream cut short inside that chunk's header as truncated.

0.25.0 - 2026-11-01

Added

  • Add memory_usage to XzStream, LzmaStream, LzipStrteam 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
  • 3913b24 chore: release v0.26.0
  • 6f1e138 Add CONTRIBUTING.md
  • bdd63e7 Add a progress counter to Lzma2WriterMt and XzWriterMt #151⁠
  • eaaaa61 Reject an LZMA2 chunk that may not follow on its control byte
  • 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
  • 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.26.0.
- [Changelog](https://github.com/hasenbanck/lzma-rust2/blob/master/CHANGELOG.md)
- [Commits](hasenbanck/lzma-rust2@v0.24.0...v0.26.0)

---
updated-dependencies:
- dependency-name: lzma-rust2
  dependency-version: 0.26.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 Dec 1, 2026

This branch has not been deployed

No deployments
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.

0 participants