From b7f75829ab521663b8906ae5bdfeadf47427d7b5 Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Tue, 20 Oct 2020 16:08:25 -0700 Subject: [PATCH] prepare v0.6.0 release (#440) --- CHANGELOG.md | 14 +++++++++++++- Cargo.toml | 1 - 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a9fa202e..cebb06168 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,18 @@ -# 0.6.0 (unreleased) +# 0.6.0 (October 21, 2020) +API polish in preparation for a 1.0 release. +### Changed +- `BufMut` is now an `unsafe` trait (#432). +- `BufMut::bytes_mut()` returns `&mut UninitSlice`, a type owned by `bytes` to + avoid undefined behavior (#433). +- `Buf::copy_to_bytes(len)` replaces `Buf::into_bytes()` (#439). +- `Buf`/`BufMut` utility methods are moved onto the trait and `*Ext` traits are + removed (#431). + +### Removed +- `BufMut::bytes_vectored_mut()` (#430). +- `new` methods on combinator types (#434). # 0.5.6 (July 13, 2020) diff --git a/Cargo.toml b/Cargo.toml index bb928de14..3d1d73df1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,6 @@ readme = "README.md" keywords = ["buffers", "zero-copy", "io"] categories = ["network-programming", "data-structures"] edition = "2018" -publish = false [features] default = ["std"]