Update Rust crate bytes to v1.5.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
bytes | dependencies | minor |
~1.1.0 -> ~1.5.0
|
bytes | dependencies | minor |
1.2 -> 1.5
|
Release Notes
tokio-rs/bytes (bytes)
v1.5.0
Added
Changed
- Mark
BytesMut::extend_from_slice
as inline (#595)
v1.4.0
Added
- Make
IntoIter
constructor public (#581)
Fixed
- Avoid large reallocations when freezing
BytesMut
(#592)
Documented
v1.3.0
Added
- Rename and expose
BytesMut::spare_capacity_mut
(#572) - Implement native-endian get and put functions for
Buf
andBufMut
(#576)
Fixed
- Don't have important data in unused capacity when calling reserve (#563)
Documented
-
Bytes::new
etc should returnSelf
notBytes
(#568)
v1.2.1
Fixed
- Fix unbounded memory growth when using
reserve
(#560)
v1.2.0
Added
- Add
BytesMut::zeroed
(#517) - Implement
Extend<Bytes>
forBytesMut
(#527) - Add conversion from
BytesMut
toVec<u8>
(#543, #554) - Add conversion from
Bytes
toVec<u8>
(#547) - Add
UninitSlice::as_uninit_slice_mut()
(#548) - Add const to
Bytes::{len,is_empty}
(#514)
Changed
Fixed
- Make miri happy (#515, #523, #542, #545, #553)
- Make tsan happy (#541)
- Fix
remaining_mut()
on chain (#488) - Fix amortized asymptotics of
BytesMut
(#555)
Documented
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Renovate Bot