parent
0b797e5114
commit
19f3102cae
@ -1,3 +1,4 @@
|
|||||||
/zip-0.5.6.crate
|
/zip-0.5.6.crate
|
||||||
/zip-0.5.8.crate
|
/zip-0.5.8.crate
|
||||||
/zip-0.5.9.crate
|
/zip-0.5.9.crate
|
||||||
|
/zip-0.5.11.crate
|
||||||
|
@ -0,0 +1,13 @@
|
|||||||
|
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"))
|
@ -1 +1 @@
|
|||||||
SHA512 (zip-0.5.9.crate) = d22c079dabc946becc9d4c05fa65b95ae62422e0abcb95ee036415b58fb212c8d0996d71a30a62a32f0d710a8ba04c1d8b856e38ef6d088c6ce7b7f5eb3b563d
|
SHA512 (zip-0.5.11.crate) = 92e3d05af2f1020383c8573aed6a7d2964604bad74d2d92e5102b9c34185242b44c005e0a081e2517cbbbe4cdc2e78ae86881fda07557b604ece98fb94e383f2
|
||||||
|
Loading…
Reference in new issue