From 58afe33f38f3f67dd5e02c9318177121342b1716 Mon Sep 17 00:00:00 2001 From: Jonathan Behrens Date: Sat, 19 Jul 2025 00:43:14 -0700 Subject: [PATCH] Use partial flushes with miniz_oxide backend --- src/ffi/rust.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ffi/rust.rs b/src/ffi/rust.rs index 5b3c1937..45b881c0 100644 --- a/src/ffi/rust.rs +++ b/src/ffi/rust.rs @@ -136,7 +136,8 @@ impl From for MZFlush { fn from(value: FlushCompress) -> Self { match value { FlushCompress::None => Self::None, - FlushCompress::Partial | FlushCompress::Sync => Self::Sync, + FlushCompress::Partial => Self::Partial, + FlushCompress::Sync => Self::Sync, FlushCompress::Full => Self::Full, FlushCompress::Finish => Self::Finish, }