This repository was archived by the owner on May 12, 2026. It is now read-only.
fix(deps): update rust crate bytes to v1#43
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
7c3be50 to
c0ea16a
Compare
c0ea16a to
8634237
Compare
8634237 to
f421690
Compare
f421690 to
74409ee
Compare
74409ee to
b143474
Compare
b143474 to
dae7c34
Compare
6cde0ed to
c4be99a
Compare
c4be99a to
5487de2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.0Release Notes
tokio-rs/bytes (bytes)
v1.11.1Compare Source
BytesMut::reservev1.11.0Compare Source
Fixed
BytesMutonly reuse if src has remaining (#803)BytesMut::put::<Bytes>(#793)BytesMut::put(#794)BytesMut::remaining_mutto useisize::MAXinstead ofusize::MAX(#795)Internal changes
slice()for empty slices. (#780)Vtable::to_*->Vtable::into_*(#776)BytesMut::freezedoctest on wasm (#790)drop_fnoffrom_ownerinto vtable (#801)v1.10.1Compare Source
Fixed
to_vecwithBytes::from_owner(#773)v1.10.0Compare Source
Added
try_get_*methods forBuftrait (#753)Buf::chunks_vectoredforTake(#617)Buf::chunks_vectoredforVecDeque<u8>(#708)Fixed
chunks_vectored(#754)panic=abort(#749)v1.9.0Compare Source
Added
Bytes::from_ownerto enable externally-allocated memory (#742)Documented
Internal changes
v1.8.0Compare Source
split_off/split_tofor empty slices (#740)v1.7.2Compare Source
Fixed
Buf::{get_int, get_int_le}(#732)Documented
Internal changes
v1.7.1Compare Source
This release reverts the following change due to a regression:
<BytesMut as Buf>::advanceimpl (#698)The revert can be found at #726.
v1.7.0Compare Source
Added
BytestoBytesMut(#695, #710)Documented
BytesMut::zeroedworks (#714)Buf::chunk(#717)Changed
BytesMut::truncate<BytesMut as Buf>::advanceimpl (#698)must_usesuggestion ofBytesMut::split(#699)Internal changes
ManuallyDropinstead ofmem::forget(#678)leninBytesMut::reserve(#682)Bytes::copy_to_bytes(#688)BytesMut::truncate(#694)BytesMut::resize(#696)Bytes::split_to,Bytes::split_off(#689, #693)offset_fromin more places (#705)IntoIter(#707)v1.6.1Compare Source
This release fixes a bug where
Bytes::is_uniquereturns incorrect values whenthe
Bytesoriginates from a sharedBytesMut. (#718)v1.6.0Compare 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)subinstead ofoffset(#668)set_vec_posdoes not need a second parameter (#672)get_vec_pos: use&selfinstead of&mut self(#670)split_at/split_to(#663)Iteratorfrom the prelude (#673)copy_to_bytes: Add panic section to docs (#676)ManuallyDropinstead ofmem::forget(#675)v1.5.0Compare Source
Added
UninitSlice::{new,uninit}(#598, #599)BufMutfor&mut [MaybeUninit<u8>](#597)Changed
BytesMut::extend_from_sliceas inline (#595)v1.4.0Compare Source
Added
IntoIterconstructor public (#581)Fixed
BytesMut(#592)Documented
std(#591)v1.3.0Compare Source
Added
BytesMut::spare_capacity_mut(#572)BufandBufMut(#576)Fixed
Documented
Bytes::newetc should returnSelfnotBytes(#568)v1.2.1Compare Source
Fixed
reserve(#560)v1.2.0Compare Source
Added
BytesMut::zeroed(#517)Extend<Bytes>forBytesMut(#527)BytesMuttoVec<u8>(#543, #554)BytestoVec<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::unsplitdocs (#535)v1.1.0Compare Source
Added
BufMut::put_bytes(self, val, cnt)(#487)From<Box<[u8]>>forBytes(#504)Changed
put_slicefor&mut [u8](#483)Chain::remaining(#482)UninitSlicemethods (#443)copy_to_bytesfor Chain and Take (#481)Documented
BufMutallocation guarantees (#501)BufMut::put_intbehavior (#486)clearandtruncate. (#508)v1.0.1Compare Source
Changed
Vec::put_slicewith#[inline](#459)Fixed
Box::into_rawinstead ofmem::forget-in-disguise (#458)v1.0.0Compare Source
Changed
Buf/BufMutmethodsbytes()andbytes_mut()tochunk()andchunk_mut()(#450)Removed
v0.6.0Compare Source
API polish in preparation for a 1.0 release.
Changed
BufMutis now anunsafetrait (#432).BufMut::bytes_mut()returns&mut UninitSlice, a type owned bybytestoavoid undefined behavior (#433).
Buf::copy_to_bytes(len)replacesBuf::into_bytes()(#439).Buf/BufMututility methods are moved onto the trait and*Exttraits areremoved (#431).
Removed
BufMut::bytes_vectored_mut()(#430).newmethods 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.