mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-26 00:00:20 +02:00
v0.5.4
This commit is contained in:
@@ -1,3 +1,15 @@
|
|||||||
|
# 0.5.4 (January 23, 2020)
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- Make `Bytes::new` a `const fn`.
|
||||||
|
- Add `From<BytesMut>` for `Bytes`.
|
||||||
|
|
||||||
|
### Fix
|
||||||
|
- Fix reversed arguments in `PartialOrd` for `Bytes`.
|
||||||
|
- Fix `Bytes::truncate` losing original capacity when repr is an unshared `Vec`.
|
||||||
|
- Fix `Bytes::from(Vec)` when allocator gave `Vec` a pointer with LSB set.
|
||||||
|
- Fix panic in `Bytes::slice_ref` if argument is an empty slice.
|
||||||
|
|
||||||
# 0.5.3 (December 12, 2019)
|
# 0.5.3 (December 12, 2019)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@ name = "bytes"
|
|||||||
# - Update CHANGELOG.md.
|
# - Update CHANGELOG.md.
|
||||||
# - Update doc URL.
|
# - Update doc URL.
|
||||||
# - Create "v0.5.x" git tag.
|
# - Create "v0.5.x" git tag.
|
||||||
version = "0.5.3"
|
version = "0.5.4"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = [
|
authors = [
|
||||||
"Carl Lerche <[email protected]>",
|
"Carl Lerche <[email protected]>",
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
#![deny(warnings, missing_docs, missing_debug_implementations, rust_2018_idioms)]
|
#![deny(warnings, missing_docs, missing_debug_implementations, rust_2018_idioms)]
|
||||||
#![doc(html_root_url = "https://docs.rs/bytes/0.5.3")]
|
#![doc(html_root_url = "https://docs.rs/bytes/0.5.4")]
|
||||||
#![no_std]
|
#![no_std]
|
||||||
|
|
||||||
//! Provides abstractions for working with bytes.
|
//! Provides abstractions for working with bytes.
|
||||||
|
|||||||
Reference in New Issue
Block a user