Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ruzstd requirement from 0.7.2 to 0.8.0 #138

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 24, 2024

Updates the requirements on ruzstd to permit the latest version.

Release notes

Sourced from ruzstd's releases.

Compression support

This release adds initial support for compressing data into the zstd format. This enables interoperability with workflows that require payloads to be encoded with zstd all in pure rust, no C dependencies needed.

API changes

The public API of the crate has been reorganized and cleaned up. Since there is now also encoding support the root couldn't really be used for structures used to decode data.

Errors

Decoding errors now live in their own module ruzstd::decoding::errors. This enabled hiding a lot of the internal modules and by that decluttering the docs.

Decoders

The FrameDecoder and StreamingDecoder are now found in ruzstd::decoding instead of the root of the namespace. This is because there is now the new ruzstd::encoding module which contains the FrameCompressor as well as the compress/compress_to_vec convenience functions.

Changelog

Sourced from ruzstd's changelog.

After 0.8.0 (Current)

After 0.7.3

  • Add initial compression support
  • Breaking Refactor modules to reflect that this is now also a compression library

After 0.7.2

  • Soundness fix in decoding::RingBuffer. The lengths of the diferent regions where sometimes calculated wrongly, resulting in reads of heap memory not belonging to that ringbuffer

  • Added convenience functions to FrameDecoder to decode multiple frames from a buffer (https://github.com/philipc)

After 0.7.1

After 0.7.0

After 0.6.0

  • Small fix in the zstd binary, progress tracking was slighty off for skippable frames resulting in an error only when the last frame in a file was skippable
  • Small performance improvement by reorganizing code with #[cold] annotations
  • Documentation for StreamDecoder mentioning the limitations around multiple frames (https://github.com/Sorseg)
  • Documentation around skippable frames (https://github.com/Sorseg)
  • Breaking StreamDecoder API changes to get access to the inner parts (https://github.com/ifd3f)
  • Big internal documentation contribution (https://github.com/zleyyij)
  • Dropped derive_more as a dependency (https://github.com/xd009642)
  • Small improvement by removing the error cases from the reverse bitreader (and making sure invalid requests can't even happen)

After 0.5.0

  • Make the hashing checksum optional (thanks to @​tamird)
    • breaking change as the public API changes based on features
  • The FrameDecoder is now Send + Sync (RingBuffer impls these traits now)
Commits
  • b74ea90 bump version to 0.8.0
  • 1ed0ec8 cargo fmt
  • d7643f4 mention Read::take in the doc for the compressor and implement it for the nos...
  • 7be4381 fix take_drain to do what it says on the tin
  • 2cec9cf better doc for FrameDecoder
  • 5c547f0 mention that the framedecoder allows reusing ressources
  • 48f6f22 Make FrameCompressor doc nicer
  • 8bb22b2 no std imports!
  • c3022ed fix doc for compress_to_vec
  • f61fedc update doc on FrameCompressor::compress
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 [ruzstd](https://github.com/KillingSpark/zstd-rs) to permit the latest version.
- [Release notes](https://github.com/KillingSpark/zstd-rs/releases)
- [Changelog](https://github.com/KillingSpark/zstd-rs/blob/master/Changelog.md)
- [Commits](KillingSpark/zstd-rs@v0.7.2...v0.8.0)

---
updated-dependencies:
- dependency-name: ruzstd
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 24, 2024
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants