mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-16 00:00:15 +02:00
prepare v0.6.0 release (#440)
This commit is contained in:
+13
-1
@@ -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)
|
# 0.5.6 (July 13, 2020)
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ readme = "README.md"
|
|||||||
keywords = ["buffers", "zero-copy", "io"]
|
keywords = ["buffers", "zero-copy", "io"]
|
||||||
categories = ["network-programming", "data-structures"]
|
categories = ["network-programming", "data-structures"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
publish = false
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
|
|||||||
Reference in New Issue
Block a user