From 0fdf1e05021983061f3a1029adfd1ace147c7dc6 Mon Sep 17 00:00:00 2001 From: "A. Molzer" <5550310+197g@users.noreply.github.com> Date: Fri, 15 May 2026 19:10:16 +0200 Subject: [PATCH 1/2] Upgrade weezl to 0.2 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 0df78ad..a7d4275 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ quick-error = "2.0.1" # Rename to avoid confusion with the feature name. fax34 = { package = "fax", version = "0.2.6", optional = true } flate2 = { version = "1.0.20", optional = true } -weezl = { version = "0.1.10", optional = true } +weezl = { version = "0.2.1", optional = true } zstd = { version = "0.13", optional = true } zune-jpeg = { version = "0.5.1", optional = true } image-webp = {version = "0.2.4", optional = true } From 5947d3b72e3f4c857f4e22748762489487fb2045 Mon Sep 17 00:00:00 2001 From: "A. Molzer" <5550310+197g@users.noreply.github.com> Date: Sat, 16 May 2026 00:46:02 +0200 Subject: [PATCH 2/2] Make newer clippy happy --- src/decoder/logluv.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/decoder/logluv.rs b/src/decoder/logluv.rs index 7744736..ff3e742 100644 --- a/src/decoder/logluv.rs +++ b/src/decoder/logluv.rs @@ -92,11 +92,7 @@ fn packbits_decode( let mut i = 0; let mut code = [0u8; 1]; - loop { - let Some(pixels) = buf.get_mut(i..) else { - break; - }; - + while let Some(pixels) = buf.get_mut(i..) { if pixels.is_empty() { break; }