Skip to content

Update Rust crate bytes to v1.5.0

Renovate Bot requested to merge renovate/bytes-1.x into main

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

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 MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about these updates again.


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

This MR has been generated by Renovate Bot.

Edited by Renovate Bot

Merge request reports

Loading