Skip to content

deps: update rust crate bytes to v1.10.1 #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 5, 2024

This PR contains the following updates:

Package Type Update Change
bytes dependencies minor 1.1.0 -> 1.10.1

Release Notes

tokio-rs/bytes (bytes)

v1.10.1

Compare Source

Fixed
  • Fix memory leak when using to_vec with Bytes::from_owner (#​773)

v1.10.0

Compare Source

Added
  • Add feature to support platforms without atomic CAS (#​467)
  • try_get_* methods for Buf trait (#​753)
  • Implement Buf::chunks_vectored for Take (#​617)
  • Implement Buf::chunks_vectored for VecDeque<u8> (#​708)
Fixed
  • Remove incorrect guarantee for chunks_vectored (#​754)
  • Ensure that tests pass under panic=abort (#​749)

v1.9.0

Compare Source

Added
  • Add Bytes::from_owner to enable externally-allocated memory (#​742)
Documented
  • Fix typo in Buf::chunk() comment (#​744)
Internal changes
  • Replace BufMut::put with BufMut::put_slice in Writer impl (#​745)
  • Rename hex_impl! to fmt_impl! and reuse it for fmt::Debug (#​743)

v1.8.0

Compare Source

  • Guarantee address in split_off/split_to for empty slices (#​740)

v1.7.2

Compare Source

Fixed
  • Fix default impl of Buf::{get_int, get_int_le} (#​732)
Documented
  • Fix double spaces in comments and doc comments (#​731)
Internal changes
  • Ensure BytesMut::advance reduces capacity (#​728)

v1.7.1

Compare Source

This release reverts the following change due to a regression:

  • Reuse capacity when possible in <BytesMut as Buf>::advance impl (#​698)

The revert can be found at #​726.

v1.7.0

Compare Source

Added
  • Add conversion from Bytes to BytesMut (#​695, #​710)
  • Add reclaim method without additional allocation (#​686)
Documented
  • Clarify how BytesMut::zeroed works (#​714)
  • Clarify the behavior of Buf::chunk (#​717)
Changed
  • Change length condition of BytesMut::truncate
  • Reuse capacity when possible in <BytesMut as Buf>::advance impl (#​698)
  • Improve must_use suggestion of BytesMut::split (#​699)
Internal changes
  • Use ManuallyDrop instead of mem::forget (#​678)
  • Don't set len in BytesMut::reserve (#​682)
  • Optimize Bytes::copy_to_bytes (#​688)
  • Refactor BytesMut::truncate (#​694)
  • Refactor BytesMut::resize (#​696)
  • Reorder assertion in Bytes::split_to, Bytes::split_off (#​689, #​693)
  • Use offset_from in more places (#​705)
  • Correct the wrong usage of IntoIter (#​707)

v1.6.1

Compare Source

This release fixes a bug where Bytes::is_unique returns incorrect values when
the Bytes originates from a shared BytesMut. (#​718)

v1.6.0

Compare Source

Added
Documented
Internal changes
  • Move comment to correct constant (#​629)
  • Various cleanup (#​635)
  • Simplify UninitSlice::as_uninit_slice_mut() logic (#​644)
  • Use self. instead of Self:: (#​642)
  • BytesMut: Assert alignment of Shared (#​652)
  • Remove unnecessary namespace qualifier (#​660)
  • Remove an unnecessary else branch (#​662)
  • Remove unreachable else branch (#​661)
  • make parameter mut in From<Vec> (#​667)
  • Restore commented tests (#​665)
  • Use sub instead of offset (#​668)
  • Calculate original capacity only if necessary (#​666)
  • set_vec_pos does not need a second parameter (#​672)
  • get_vec_pos: use &self instead of &mut self (#​670)
  • Refactor split_at/split_to (#​663)
  • Use Iterator from the prelude (#​673)
  • copy_to_bytes: Add panic section to docs (#​676)
  • Remove redundant reserve call (#​674)
  • Use ManuallyDrop instead of mem::forget (#​675)

v1.5.0

Compare Source

Added
Changed
  • Mark BytesMut::extend_from_slice as inline (#​595)

v1.4.0

Compare Source

Added
  • Make IntoIter constructor public (#​581)
Fixed
  • Avoid large reallocations when freezing BytesMut (#​592)
Documented
  • Document which functions require std (#​591)
  • Fix duplicate "the the" typos (#​585)

v1.3.0

Compare Source

Added
  • Rename and expose BytesMut::spare_capacity_mut (#​572)
  • Implement native-endian get and put functions for Buf and BufMut (#​576)
Fixed
  • Don't have important data in unused capacity when calling reserve (#​563)
Documented
  • Bytes::new etc should return Self not Bytes (#​568)

v1.2.1

Compare Source

Fixed
  • Fix unbounded memory growth when using reserve (#​560)

v1.2.0

Compare Source

Added
  • Add BytesMut::zeroed (#​517)
  • Implement Extend<Bytes> for BytesMut (#​527)
  • Add conversion from BytesMut to Vec<u8> (#​543, #​554)
  • Add conversion from Bytes to Vec<u8> (#​547)
  • Add UninitSlice::as_uninit_slice_mut() (#​548)
  • Add const to Bytes::{len,is_empty} (#​514)
Changed
Fixed
Documented
  • Redraw layout diagram with box drawing characters (#​539)
  • Clarify BytesMut::unsplit docs (#​535)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/bytes-1.x-lockfile branch from 277dc12 to 014206f Compare July 13, 2024 14:15
@renovate renovate bot changed the title deps: update rust crate bytes to v1.6.0 deps: update rust crate bytes to v1.6.1 Jul 13, 2024
@renovate renovate bot changed the title deps: update rust crate bytes to v1.6.1 deps: update rust crate bytes to v1.7.0 Jul 31, 2024
@renovate renovate bot force-pushed the renovate/bytes-1.x-lockfile branch from 014206f to 000c601 Compare July 31, 2024 13:22
@renovate renovate bot changed the title deps: update rust crate bytes to v1.7.0 deps: update rust crate bytes to v1.7.1 Aug 1, 2024
@renovate renovate bot force-pushed the renovate/bytes-1.x-lockfile branch from 000c601 to 905d089 Compare August 1, 2024 21:53
@renovate renovate bot force-pushed the renovate/bytes-1.x-lockfile branch from 905d089 to 1d568c3 Compare September 18, 2024 06:32
@renovate renovate bot changed the title deps: update rust crate bytes to v1.7.1 deps: update rust crate bytes to v1.7.2 Sep 18, 2024
@renovate renovate bot changed the title deps: update rust crate bytes to v1.7.2 deps: update rust crate bytes to v1.8.0 Oct 21, 2024
@renovate renovate bot force-pushed the renovate/bytes-1.x-lockfile branch from 1d568c3 to da6e106 Compare October 21, 2024 22:09
@renovate renovate bot changed the title deps: update rust crate bytes to v1.8.0 deps: update rust crate bytes to v1.9.0 Nov 28, 2024
@renovate renovate bot force-pushed the renovate/bytes-1.x-lockfile branch from da6e106 to 6ed96ba Compare November 28, 2024 17:28
@renovate renovate bot changed the title deps: update rust crate bytes to v1.9.0 deps: update rust crate bytes to v1.10.0 Feb 3, 2025
@renovate renovate bot force-pushed the renovate/bytes-1.x-lockfile branch from 6ed96ba to 9306e90 Compare February 3, 2025 12:47
@renovate renovate bot changed the title deps: update rust crate bytes to v1.10.0 deps: update rust crate bytes to v1.10.1 Mar 5, 2025
@renovate renovate bot force-pushed the renovate/bytes-1.x-lockfile branch from 9306e90 to bf6aaf0 Compare March 5, 2025 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants