Skip to content

Update Rust crate zstd to v0.14.2 - #396

Merged
cakebaker merged 1 commit into
mainfrom
renovate/zstd-0.x-lockfile
Oct 11, 2026
Merged

cakebaker merged 1 commit into
mainfrom
renovate/zstd-0.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
zstd workspace.dependencies patch 0.14.1 → 0.14.2

Release Notes

gyscos/zstd-rs (zstd)

v0.14.2

Compare Source

zstd 0.14.2

This release adds decoder APIs that let archive libraries recover their readers
without consuming more compressed input or losing ownership on initialization
errors.

  • Add stream::read::Decoder::into_inner(), which returns the underlying reader
    at its current position without additional I/O. This supports raw copying of
    compressed archive entries. Addresses #​381
    and the regression reported in #​380.
  • Add Decoder::try_new, try_with_buffer, try_with_dictionary,
    try_with_prepared_dictionary, and try_with_ref_prefix. These return
    Result<Self, (R, io::Error)>, preserving the original reader if decoder
    initialization fails. Addresses #​382.
  • Return an I/O error if a streaming decoder cannot allocate its decompression
    context, instead of panicking.
  • Clarify that finish_frame() can stop before the end of a frame when decoded
    output remains unread.

Decoder::finish() keeps its 0.14 behavior: it attempts to consume remaining
frame input before returning the reader. Archive libraries that need to recover
compressed bytes should use into_inner() and adopt the new try_* constructors
where they need to retain the reader after initialization failure. Existing
constructor signatures remain unchanged.

Rust 1.64 remains supported.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from kaladron as a code owner October 10, 2026 17:40
@codspeed

codspeed Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

⚠️ 4 benchmarks spent significant time in system calls

System calls cannot be consistently instrumented, so they are not included in the measure, which understates the real cost. Please switch to the Walltime instrument to accurately measure system calls.

Measurement and system calls

✅ 7 untouched benchmarks


Comparing renovate/zstd-0.x-lockfile (d518448) with main (13491f0)

Open in CodSpeed

@cakebaker
cakebaker merged commit d0354be into main Oct 11, 2026
26 checks passed
@renovate
renovate Bot deleted the renovate/zstd-0.x-lockfile branch October 11, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant