fix(deps): update rust crate bytes to v1 #43
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.5
->1.0
Release Notes
tokio-rs/bytes (bytes)
v1.10.1
Compare Source
Fixed
to_vec
withBytes::from_owner
(#773)v1.10.0
Compare Source
Added
try_get_*
methods forBuf
trait (#753)Buf::chunks_vectored
forTake
(#617)Buf::chunks_vectored
forVecDeque<u8>
(#708)Fixed
chunks_vectored
(#754)panic=abort
(#749)v1.9.0
Compare Source
Added
Bytes::from_owner
to enable externally-allocated memory (#742)Documented
Internal changes
v1.8.0
Compare Source
split_off
/split_to
for empty slices (#740)v1.7.2
Compare Source
Fixed
Buf::{get_int, get_int_le}
(#732)Documented
Internal changes
v1.7.1
Compare Source
This release reverts the following change due to a regression:
<BytesMut as Buf>::advance
impl (#698)The revert can be found at #726.
v1.7.0
Compare Source
Added
Bytes
toBytesMut
(#695, #710)Documented
BytesMut::zeroed
works (#714)Buf::chunk
(#717)Changed
BytesMut::truncate
<BytesMut as Buf>::advance
impl (#698)must_use
suggestion ofBytesMut::split
(#699)Internal changes
ManuallyDrop
instead ofmem::forget
(#678)len
inBytesMut::reserve
(#682)Bytes::copy_to_bytes
(#688)BytesMut::truncate
(#694)BytesMut::resize
(#696)Bytes::split_to
,Bytes::split_off
(#689, #693)offset_from
in more places (#705)IntoIter
(#707)v1.6.1
Compare Source
This release fixes a bug where
Bytes::is_unique
returns incorrect values whenthe
Bytes
originates from a sharedBytesMut
. (#718)v1.6.0
Compare Source
Added
Bytes::is_unique
(#643)Documented
Internal changes
UninitSlice::as_uninit_slice_mut()
logic (#644)self.
instead ofSelf::
(#642)BytesMut
: Assert alignment ofShared
(#652)From<Vec>
(#667)sub
instead ofoffset
(#668)set_vec_pos
does not need a second parameter (#672)get_vec_pos
: use&self
instead of&mut self
(#670)split_at
/split_to
(#663)Iterator
from the prelude (#673)copy_to_bytes
: Add panic section to docs (#676)ManuallyDrop
instead ofmem::forget
(#675)v1.5.0
Compare Source
Added
UninitSlice::{new,uninit}
(#598, #599)BufMut
for&mut [MaybeUninit<u8>]
(#597)Changed
BytesMut::extend_from_slice
as inline (#595)v1.4.0
Compare Source
Added
IntoIter
constructor public (#581)Fixed
BytesMut
(#592)Documented
std
(#591)v1.3.0
Compare Source
Added
BytesMut::spare_capacity_mut
(#572)Buf
andBufMut
(#576)Fixed
Documented
Bytes::new
etc should returnSelf
notBytes
(#568)v1.2.1
Compare Source
Fixed
reserve
(#560)v1.2.0
Compare Source
Added
BytesMut::zeroed
(#517)Extend<Bytes>
forBytesMut
(#527)BytesMut
toVec<u8>
(#543, #554)Bytes
toVec<u8>
(#547)UninitSlice::as_uninit_slice_mut()
(#548)Bytes::{len,is_empty}
(#514)Changed
BytesMut::reserve
(#539, #544)Fixed
remaining_mut()
on chain (#488)BytesMut
(#555)Documented
BytesMut::unsplit
docs (#535)v1.1.0
Compare Source
Added
BufMut::put_bytes(self, val, cnt)
(#487)From<Box<[u8]>>
forBytes
(#504)Changed
put_slice
for&mut [u8]
(#483)Chain::remaining
(#482)UninitSlice
methods (#443)copy_to_bytes
for Chain and Take (#481)Documented
BufMut
allocation guarantees (#501)BufMut::put_int
behavior (#486)clear
andtruncate
. (#508)v1.0.1
Compare Source
Changed
Vec::put_slice
with#[inline]
(#459)Fixed
Box::into_raw
instead ofmem::forget
-in-disguise (#458)v1.0.0
Compare Source
Changed
Buf
/BufMut
methodsbytes()
andbytes_mut()
tochunk()
andchunk_mut()
(#450)Removed
v0.6.0
Compare Source
API polish in preparation for a 1.0 release.
Changed
BufMut
is now anunsafe
trait (#432).BufMut::bytes_mut()
returns&mut UninitSlice
, a type owned bybytes
toavoid undefined behavior (#433).
Buf::copy_to_bytes(len)
replacesBuf::into_bytes()
(#439).Buf
/BufMut
utility methods are moved onto the trait and*Ext
traits areremoved (#431).
Removed
BufMut::bytes_vectored_mut()
(#430).new
methods on combinator types (#434).Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.