ruzstd
A decoder for the zstd compression format
0.9.0
60M downloads/mo
#1107 most downloaded on crates.io
KillingSpark/zstd-rs
What this package is like to depend on
Last release 28 days ago
26 Jul 2026
Ships fairly regularly
a new release about every 3 months
Some releases are documented
notes for 7 of 16 stable releases
4 versions withdrawn
withdrawn after publishing
7 years old
20 releases · first in 2019
3 releases in the last 12 months
see the full history below
Release timeline
20 releases · Nov 2019 to Jul 2026Releases
latest 20-
0.9.026 Jul 2026Nothing published for this version
-
0.8.308 May 2026Release notes
Open source →- Avoid emitting compressed blocks when the compressed payload is not smaller than the raw block.
- Fix Dictionary decoding. It should not panic on invalid inputs.
- Make the decode window size limit configurable via
FrameDecoder::set_max_window_size/max_window_size,StreamingDecoder::new_with_max_window_size, and theDEFAULT_MAX_WINDOW_SIZEconstant. The default stays 100mb. - Apply the window size limit to the first frame of a stream, not just later frames.
- Breaking
FrameDecoderError::WindowSizeTooBiggained amaxfield and now reports the effective limit.
-
0.8.202 Nov 2025Release notes
Open source →- Introduce the
rust-versionfield - Fix checksum generation when repeatedly using the encoder
- Expose decoding::Dictionary as public
- Add Debug derive to CompressionLevel enum
- Make RLE and Raw block decoding more efficient and not use intermediary buffer on the stack
- Introduce the
-
0.8.103 May 2025Release notes
Open source →- The CLI has been refactored to use
clap - The MatchDriverGenerator has been made public so users can name it as
MinFrameCompressor<R,W,M>
- The CLI has been refactored to use
-
0.8.023 Dec 2024Release notes
Open source →- The compressor now includes a
content_checksumwhen thehashfeature is enabled - Dictionary generation has been added
- The compressor now includes a
-
0.7.328 Nov 2024Release notes
Open source →- Add initial compression support
- Breaking Refactor modules to reflect that this is now also a compression library
-
0.7.212 Sep 2024 withdrawnRelease notes
Open source →-
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
- Fixed by https://github.com/paolobarbolini
- Affected versions: 0.7.0 up to and including 0.7.2
-
Added convenience functions to FrameDecoder to decode multiple frames from a buffer (https://github.com/philipc)
-
-
0.7.121 Aug 2024 withdrawnRelease notes
Open source →- Remove byteorder dependency (https://github.com/workingjubilee)
- Preparations to become a std dependency (https://github.com/workingjubilee)
-
0.7.030 May 2024 withdrawnRelease notes
Open source →- Fix for drain_to functions into limited targets (https://github.com/michaelkirk)
-
0.6.018 Feb 2024Release notes
Open source →- 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
StreamDecodermentioning the limitations around multiple frames (https://github.com/Sorseg) - Documentation around skippable frames (https://github.com/Sorseg)
- Breaking
StreamDecoderAPI 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)
-
0.5.118 Feb 2024 withdrawnNothing published for this version
-
0.5.025 Oct 2023Release notes
Open source →- 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)
- Make the hashing checksum optional (thanks to @tamird)
-
0.4.018 May 2023Nothing published for this version
-
0.3.117 Mar 2023Nothing published for this version
-
0.3.004 Jul 2022Nothing published for this version
-
0.2.425 Jun 2021Nothing published for this version
-
0.2.325 Jun 2021Nothing published for this version
-
0.2.205 Nov 2020Nothing published for this version
-
0.2.124 Nov 2019Nothing published for this version
-
0.2.004 Nov 2019Nothing published for this version