diff --git a/src/compression.rs b/src/compression.rs index 83a7669bd..1e3178f34 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, ]; pub(crate) enum Decompressor {