From 4341fe263c606b61b6b4365c3255463446ecbe71 Mon Sep 17 00:00:00 2001 From: Jonathan Behrens Date: Thu, 23 Oct 2025 20:23:24 -0700 Subject: [PATCH 1/2] Revert "Use partial flushes with miniz_oxide backend" This reverts commit 58afe33f38f3f67dd5e02c9318177121342b1716. --- src/ffi/rust.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ffi/rust.rs b/src/ffi/rust.rs index 45b881c0..5b3c1937 100644 --- a/src/ffi/rust.rs +++ b/src/ffi/rust.rs @@ -136,8 +136,7 @@ impl From for MZFlush { fn from(value: FlushCompress) -> Self { match value { FlushCompress::None => Self::None, - FlushCompress::Partial => Self::Partial, - FlushCompress::Sync => Self::Sync, + FlushCompress::Partial | FlushCompress::Sync => Self::Sync, FlushCompress::Full => Self::Full, FlushCompress::Finish => Self::Finish, } From bc36cf4af084b0da8b8fe4e9ef2e4ce8c903ba63 Mon Sep 17 00:00:00 2001 From: Jonathan Behrens Date: Thu, 23 Oct 2025 20:23:52 -0700 Subject: [PATCH 2/2] Bump patch version --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index adc8ee9a..6b28120e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "flate2" authors = ["Alex Crichton ", "Josh Triplett "] -version = "1.1.4" +version = "1.1.5" edition = "2018" license = "MIT OR Apache-2.0" readme = "README.md"