You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
647 B
14 lines
647 B
diff --git a/src/write.rs b/src/write.rs
|
|
index bc68817..4099599 100644
|
|
--- a/src/write.rs
|
|
+++ b/src/write.rs
|
|
@@ -553,7 +553,7 @@ impl<W: Write + io::Seek> GenericZipWriter<W> {
|
|
)),
|
|
#[cfg(feature = "bzip2")]
|
|
CompressionMethod::Bzip2 => {
|
|
- GenericZipWriter::Bzip2(BzEncoder::new(bare, bzip2::Compression::Default))
|
|
+ GenericZipWriter::Bzip2(BzEncoder::new(bare, bzip2::Compression::default()))
|
|
}
|
|
CompressionMethod::Unsupported(..) => {
|
|
return Err(ZipError::UnsupportedArchive("Unsupported compression"))
|