From 31c18918e91a6d8de8eacc094d2a3035185564c8 Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Fri, 25 May 2018 15:32:39 -0700 Subject: [PATCH 1/2] Filter out tsan warnings in test harness (#205) --- ci/tsan | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/tsan b/ci/tsan index 34f76ab..18bfc63 100644 --- a/ci/tsan +++ b/ci/tsan @@ -9,6 +9,10 @@ race:arc*Weak*drop # rust runtime logic. race:std*mpsc_queue +# Not sure why this is warning, but it is in the test harness and not the library. +race:TestEvent*clone +race:test::run_tests_console::*closure + # Probably more fences in std. race:__call_tls_dtors From 8bedd043e299c2bc6d93be5a5e84b29753929c5f Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Fri, 25 May 2018 16:50:42 -0700 Subject: [PATCH 2/2] Bump version to v0.4.8 (#206) --- CHANGELOG.md | 6 ++++++ Cargo.toml | 2 +- src/lib.rs | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 73f99ed..42a4025 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# 0.4.8 (May 25, 2018) + +* Fix panic in `BytesMut` `FromIterator` implementation. +* Bytes: Recycle space when reserving space in vec mode (#197). +* Bytes: Add resize fn (#203). + # 0.4.7 (April 27, 2018) * Make `Buf` and `BufMut` usable as trait objects (#186). diff --git a/Cargo.toml b/Cargo.toml index a33dfba..1467e4e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "bytes" -version = "0.4.7" # don't forget to update html_root_url +version = "0.4.8" # don't forget to update html_root_url license = "MIT/Apache-2.0" authors = ["Carl Lerche "] description = "Types and traits for working with bytes" diff --git a/src/lib.rs b/src/lib.rs index e912b7d..92702c9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -69,7 +69,7 @@ //! and `BufMut` are infallible. #![deny(warnings, missing_docs, missing_debug_implementations)] -#![doc(html_root_url = "https://docs.rs/bytes/0.4.7")] +#![doc(html_root_url = "https://docs.rs/bytes/0.4.8")] extern crate byteorder; extern crate iovec;