diff --git a/Cargo.toml b/Cargo.toml index 45fd9d8..e345ba3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deflate" -version = "0.8.5" +version = "0.8.6" edition = "2018" license = "MIT/Apache-2.0" authors = ["oyvindln "] diff --git a/changelog.md b/changelog.md index 1e4f693..f23ccb3 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,14 @@ + +### 0.8.6 (2020-07-06) + + +#### Bug Fixes + +* try to fix issues with sync flush behaviour ([6c97e514](6c97e514), closes [#48](48)) +* add #!forbid(unsafe_code) to crate root ([fcbe4206](fcbe4206)) + + + ### 0.8.5 (2020-07-04) diff --git a/src/lib.rs b/src/lib.rs index cc6c807..cc8a615 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -48,7 +48,6 @@ //! ``` #![forbid(unsafe_code)] - #![cfg_attr(all(feature = "benchmarks", test), feature(test))] #[cfg(all(test, feature = "benchmarks"))] diff --git a/tests/test.rs b/tests/test.rs index 97788f5..3c9ed3c 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -160,13 +160,16 @@ fn afl_regressions_default_compression() { } } - mod issue_47 { use std::io::{self, Write}; #[test] fn issue_47() { - let _ = deflate::write::ZlibEncoder::new(SmallWriter::new(vec![], 2), deflate::Compression::Fast).flush(); + let _ = deflate::write::ZlibEncoder::new( + SmallWriter::new(vec![], 2), + deflate::Compression::Fast, + ) + .flush(); } struct SmallWriter {