Skip to content

Bump lzokay-native from 0.1.0 to 0.2.1 - #29

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/cargo/develop/lzokay-native-0.2.1
Open

dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/cargo/develop/lzokay-native-0.2.1

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps lzokay-native from 0.1.0 to 0.2.1.

Release notes

Sourced from lzokay-native's releases.

v0.2.1

Changed

  • Decompression reads its input forward only, without seeking back to peek at bytes. Seeking discarded the buffer of a BufReader on every peek, which made reading through one up to 30% slower.
  • decompress_bounded and decompress_all_bounded reserve max_size up front (at most 1 MiB) instead of growing the output from empty.
  • Literal runs are read straight into the output, without a temporary buffer.

v0.2.0

Added

  • Error::LookbehindOverrun: returned by decompress, decompress_all and the bounded variants when a match reaches before the start of the output, which means the input is corrupt (#3).

Changed

  • Breaking: Error is #[non_exhaustive], so future error variants aren't breaking changes. matches on it need a wildcard arm (#3).
  • Breaking: requires Rust 1.85 (edition 2024) (#4).
  • expected_size reserves at most 1 MiB up front. The output still grows to whatever size the data decompresses to (#3).

Fixed

  • Corrupt input no longer makes decompression panic with an index out of bounds. Matches before the start of the output wrapped the read position around, in the bounded and unbounded functions (#3).
  • expected_size of Some(usize::MAX) no longer panics with a capacity overflow, and large sizes are no longer allocated before reading any input (#3).
  • Docs build on docs.rs again: the doc_auto_cfg feature was removed from nightly Rust in 1.92, doc_cfg replaces it. The 0.1.1 docs failed to build.

v0.1.1

[0.1.1] - 2026-11-05

Added

  • decompress_bounded and decompress_all_bounded: they return Error::OutputOverrun if the decompressed output would exceed max_size, which guards against untrusted or malicious input (#2, thanks @​fanyang89).

Fixed

  • Use std::ptr::{copy_nonoverlapping, write_bytes} instead of the std::intrinsics re-exports, which fixes builds on newer Rust toolchains (#2).
  • Doc typos and clarified that expected_size is only an allocation hint.
Changelog

Sourced from lzokay-native's changelog.

[0.2.1] - 2026-11-06

Changed

  • Decompression reads its input forward only, without seeking back to peek at bytes. Seeking discarded the buffer of a BufReader on every peek, which made reading through one up to 30% slower.
  • decompress_bounded and decompress_all_bounded reserve max_size up front (at most 1 MiB) instead of growing the output from empty.
  • Literal runs are read straight into the output, without a temporary buffer.

[0.2.0] - 2026-11-05

Added

  • Error::LookbehindOverrun: returned by decompress, decompress_all and the bounded variants when a match reaches before the start of the output, which means the input is corrupt (#3).

Changed

  • Breaking: Error is #[non_exhaustive], so future error variants aren't breaking changes. matches on it need a wildcard arm (#3).
  • Breaking: requires Rust 1.85 (edition 2024) (#4).
  • expected_size reserves at most 1 MiB up front. The output still grows to whatever size the data decompresses to (#3).

Fixed

  • Corrupt input no longer makes decompression panic with an index out of bounds. Matches before the start of the output wrapped the read position around, in the bounded and unbounded functions (#3).
  • expected_size of Some(usize::MAX) no longer panics with a capacity overflow, and large sizes are no longer allocated before reading any input (#3).
  • Docs build on docs.rs again: the doc_auto_cfg feature was removed from nightly Rust in 1.92, doc_cfg replaces it. The 0.1.1 docs failed to build.

[0.1.1] - 2026-11-05

Added

  • decompress_bounded and decompress_all_bounded: they return Error::OutputOverrun if the decompressed output would exceed max_size, which guards against untrusted or malicious input (#2, thanks @​fanyang89).

Fixed

  • Use std::ptr::{copy_nonoverlapping, write_bytes} instead of the std::intrinsics re-exports, which fixes builds on newer Rust toolchains (#2).
  • Doc typos and clarified that expected_size is only an allocation hint.
Commits
  • e39c409 chore: release v0.2.1
  • 2d465c5 Merge pull request #7 from arma-tools/perf/no-seek
  • ac56a8c perf: read compressed input forward only
  • e512a8b chore: release v0.2.0
  • b1f3bdc Merge pull request #6 from arma-tools/docs/doc-cfg
  • 2594d59 docs: doc_cfg instead of the removed doc_auto_cfg, fixes docs.rs builds
  • cdda9de Merge pull request #5 from arma-tools/docs/lzop-and-changelog
  • 93c05f5 docs: raw LZO1X streams, not lzop files; changelog for #3 and #4
  • 49171dc Merge pull request #3 from arma-tools/fix/decompress-bounds
  • f693e74 fix: errors instead of panics on corrupt input
  • 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 [lzokay-native](https://github.com/arma-tools/lzokay-native-rs) from 0.1.0 to 0.2.1.
- [Release notes](https://github.com/arma-tools/lzokay-native-rs/releases)
- [Changelog](https://github.com/arma-tools/lzokay-native-rs/blob/main/CHANGELOG.md)
- [Commits](arma-tools/lzokay-native-rs@v0.1.0...v0.2.1)

---
updated-dependencies:
- dependency-name: lzokay-native
  dependency-version: 0.2.1
  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 16, 2026
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