Skip to content

Commit fe6e673

Browse files
committed
v0.5.4
1 parent f330ef6 commit fe6e673

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# 0.5.4 (January 23, 2020)
2+
3+
### Added
4+
- Make `Bytes::new` a `const fn`.
5+
- Add `From<BytesMut>` for `Bytes`.
6+
7+
### Fix
8+
- Fix reversed arguments in `PartialOrd` for `Bytes`.
9+
- Fix `Bytes::truncate` losing original capacity when repr is an unshared `Vec`.
10+
- Fix `Bytes::from(Vec)` when allocator gave `Vec` a pointer with LSB set.
11+
- Fix panic in `Bytes::slice_ref` if argument is an empty slice.
12+
113
# 0.5.3 (December 12, 2019)
214

315
### Added

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name = "bytes"
66
# - Update CHANGELOG.md.
77
# - Update doc URL.
88
# - Create "v0.5.x" git tag.
9-
version = "0.5.3"
9+
version = "0.5.4"
1010
license = "MIT"
1111
authors = [
1212
"Carl Lerche <[email protected]>",

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![deny(warnings, missing_docs, missing_debug_implementations, rust_2018_idioms)]
2-
#![doc(html_root_url = "https://docs.rs/bytes/0.5.3")]
2+
#![doc(html_root_url = "https://docs.rs/bytes/0.5.4")]
33
#![no_std]
44

55
//! Provides abstractions for working with bytes.

0 commit comments

Comments
 (0)