Skip to content
Snippets Groups Projects
Commit fe6e6738 authored by Sean McArthur's avatar Sean McArthur
Browse files

v0.5.4

parent f330ef6c
No related branches found
No related tags found
No related merge requests found
# 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>",
......
#![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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment