From 6cdd05e298cc54ce15119d2dab69dee274ff763e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20du=20Garreau?= Date: Fri, 12 Jul 2024 11:08:17 +0200 Subject: [PATCH] fix: Add missing compression methods to `SUPPORTED_COMPRESSION_METHODS` --- src/compression.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/compression.rs b/src/compression.rs index 0dd21017a..8fe45d1bf 100644 --- a/src/compression.rs +++ b/src/compression.rs @@ -187,6 +187,10 @@ pub const SUPPORTED_COMPRESSION_METHODS: &[CompressionMethod] = &[ CompressionMethod::Bzip2, #[cfg(feature = "zstd")] CompressionMethod::Zstd, + #[cfg(feature = "lzma")] + CompressionMethod::Lzma, + #[cfg(feature = "xz")] + CompressionMethod::Xz, ]; #[cfg(test)]