From a5b9a57e0963817327b6367bca5cb6be12c99c02 Mon Sep 17 00:00:00 2001 From: Paolo Barbolini Date: Sun, 6 Sep 2026 16:57:25 +0200 Subject: [PATCH] Upgrade zstd to 0.14 Bumps the optional `zstd` dependency from `0.13` to `0.14` (pulls in `zstd-safe` 8.0.0 / `zstd-sys` 2.1.0). We only use `zstd::Decoder::new` for streaming decode, which is unchanged in 0.14.0, so this is a pure version bump with no code changes. Also worth noting: `zstd-safe` 8.0.0 fixes a dangling dictionary pointer reachable from safe code, and `zstd-sys` 2.1.0 no longer needs `libclang` by default. The crate stack moved from MIT to BSD-3-Clause (still permissive, compatible with our MIT). --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index a57f1de..6df3939 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ quick-error = "2.0.1" fax34 = { package = "fax", version = "0.2.6", optional = true } flate2 = { version = "1.0.20", optional = true } weezl = { version = "0.2.1", optional = true } -zstd = { version = "0.13", optional = true } +zstd = { version = "0.14", optional = true } zrip-decode = { version = "0.8.2", features = ["paranoid"], optional = true } zune-jpeg = { version = "0.5.1", optional = true } image-webp = {version = "0.2.4", optional = true }