Skip to content

Commit

Permalink
bump version, run fmt, update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindln committed Jul 6, 2020
1 parent 6c97e51 commit b8ba3f6
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deflate"
version = "0.8.5"
version = "0.8.6"
edition = "2018"
license = "MIT/Apache-2.0"
authors = ["oyvindln <oyvindln@users.noreply.github.com>"]
Expand Down
11 changes: 11 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
<a name="0.8.6"></a>
### 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))



<a name="0.8.5"></a>
### 0.8.5 (2020-07-04)

Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
//! ```
#![forbid(unsafe_code)]

#![cfg_attr(all(feature = "benchmarks", test), feature(test))]

#[cfg(all(test, feature = "benchmarks"))]
Expand Down
7 changes: 5 additions & 2 deletions tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<W: Write> {
Expand Down

0 comments on commit b8ba3f6

Please sign in to comment.