gyscos / zstd-rs

A rust binding for the zstd compression library.
MIT License
527 stars 112 forks source link

Update to Zstd 1.5.5 to avoid corruption in high compression scenarios #230

Closed z3cko closed 1 year ago

z3cko commented 1 year ago

Zstd 1.5.5 has been released already on 2023-04-05 to address a "rare corruption bug that can occur in high compression modes" but the version of zstd-safe on crates.io still is v6.0.5+zstd.1.5.4. Can I please ask you to release an update to match the version number of Zstd? In this particular case (where version 1.5.5 is a bugfix release to a corruption bug introduced in 1.5.4). It would be generally great if the version number of zstd-safe would always match the latest Zstd version.

NobodyXu commented 1 year ago

zstd-sys v2.0.8+zstd1.5.5 has been released for quite some time.

You just need to update your lockfile.

NobodyXu commented 1 year ago

P.S. This is a duplicate of #228

z3cko commented 1 year ago

Thanks for the clarification!