diff options
author | 2020-01-23 10:33:33 -0800 | |
---|---|---|
committer | 2020-01-23 10:41:50 -0800 | |
commit | fe6e67386451715c5d609c90a41e98ef80f0e1d1 (patch) | |
tree | bc22793f13dbbc8ad978339325d44f3f6e816169 | |
parent | f330ef6c4d806abecadca945f682436737399039 (diff) | |
download | bytes-fe6e67386451715c5d609c90a41e98ef80f0e1d1.tar.gz bytes-fe6e67386451715c5d609c90a41e98ef80f0e1d1.tar.zst bytes-fe6e67386451715c5d609c90a41e98ef80f0e1d1.zip |
v0.5.4v0.5.4
-rw-r--r-- | CHANGELOG.md | 12 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | src/lib.rs | 2 |
3 files changed, 14 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 960bd79..21a51ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) ### Added @@ -6,7 +6,7 @@ name = "bytes" # - Update CHANGELOG.md. # - Update doc URL. # - Create "v0.5.x" git tag. -version = "0.5.3" +version = "0.5.4" license = "MIT" authors = [ "Carl Lerche <me@carllerche.com>", @@ -1,5 +1,5 @@ #![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] //! Provides abstractions for working with bytes. |