Update Rust crate bytes to v1.6.0 #21

Open
pierre wants to merge 1 commits from renovate/bytes-1.x-lockfile into master
Owner

This PR contains the following updates:

Package Type Update Change
bytes dependencies minor 1.1.0 -> 1.6.0

Release Notes

tokio-rs/bytes (bytes)

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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [bytes](https://github.com/tokio-rs/bytes) | dependencies | minor | `1.1.0` -> `1.6.0` | --- ### Release Notes <details> <summary>tokio-rs/bytes (bytes)</summary> ### [`v1.6.0`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#160-March-22-2024) [Compare Source](https://github.com/tokio-rs/bytes/compare/v1.5.0...v1.6.0) ##### Added - Add `Bytes::is_unique` ([#&#8203;643](https://github.com/tokio-rs/bytes/issues/643)) ##### Documented - Fix changelog typo ([#&#8203;628](https://github.com/tokio-rs/bytes/issues/628)) - Fix some spelling mistakes ([#&#8203;633](https://github.com/tokio-rs/bytes/issues/633)) - Typo fix ([#&#8203;637](https://github.com/tokio-rs/bytes/issues/637)) - Fix broken links ([#&#8203;639](https://github.com/tokio-rs/bytes/issues/639)) - Add security policy ([#&#8203;649](https://github.com/tokio-rs/bytes/issues/649)) ##### Internal changes - Move comment to correct constant ([#&#8203;629](https://github.com/tokio-rs/bytes/issues/629)) - Various cleanup ([#&#8203;635](https://github.com/tokio-rs/bytes/issues/635)) - Simplify `UninitSlice::as_uninit_slice_mut()` logic ([#&#8203;644](https://github.com/tokio-rs/bytes/issues/644)) - Use `self.` instead of `Self::` ([#&#8203;642](https://github.com/tokio-rs/bytes/issues/642)) - `BytesMut`: Assert alignment of `Shared` ([#&#8203;652](https://github.com/tokio-rs/bytes/issues/652)) - Remove unnecessary namespace qualifier ([#&#8203;660](https://github.com/tokio-rs/bytes/issues/660)) - Remove an unnecessary else branch ([#&#8203;662](https://github.com/tokio-rs/bytes/issues/662)) - Remove unreachable else branch ([#&#8203;661](https://github.com/tokio-rs/bytes/issues/661)) - make parameter mut in `From<Vec>` ([#&#8203;667](https://github.com/tokio-rs/bytes/issues/667)) - Restore commented tests ([#&#8203;665](https://github.com/tokio-rs/bytes/issues/665)) - Use `sub` instead of `offset` ([#&#8203;668](https://github.com/tokio-rs/bytes/issues/668)) - Calculate original capacity only if necessary ([#&#8203;666](https://github.com/tokio-rs/bytes/issues/666)) - `set_vec_pos` does not need a second parameter ([#&#8203;672](https://github.com/tokio-rs/bytes/issues/672)) - `get_vec_pos`: use `&self` instead of `&mut self` ([#&#8203;670](https://github.com/tokio-rs/bytes/issues/670)) - Refactor `split_at`/`split_to` ([#&#8203;663](https://github.com/tokio-rs/bytes/issues/663)) - Use `Iterator` from the prelude ([#&#8203;673](https://github.com/tokio-rs/bytes/issues/673)) - `copy_to_bytes`: Add panic section to docs ([#&#8203;676](https://github.com/tokio-rs/bytes/issues/676)) - Remove redundant reserve call ([#&#8203;674](https://github.com/tokio-rs/bytes/issues/674)) - Use `ManuallyDrop` instead of `mem::forget` ([#&#8203;675](https://github.com/tokio-rs/bytes/issues/675)) ### [`v1.5.0`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#150-September-7-2023) [Compare Source](https://github.com/tokio-rs/bytes/compare/v1.4.0...v1.5.0) ##### Added - Add `UninitSlice::{new,uninit}` ([#&#8203;598](https://github.com/tokio-rs/bytes/issues/598), [#&#8203;599](https://github.com/tokio-rs/bytes/issues/599)) - Implement `BufMut` for `&mut [MaybeUninit<u8>]` ([#&#8203;597](https://github.com/tokio-rs/bytes/issues/597)) ##### Changed - Mark `BytesMut::extend_from_slice` as inline ([#&#8203;595](https://github.com/tokio-rs/bytes/issues/595)) ### [`v1.4.0`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#140-January-31-2023) [Compare Source](https://github.com/tokio-rs/bytes/compare/v1.3.0...v1.4.0) ##### Added - Make `IntoIter` constructor public ([#&#8203;581](https://github.com/tokio-rs/bytes/issues/581)) ##### Fixed - Avoid large reallocations when freezing `BytesMut` ([#&#8203;592](https://github.com/tokio-rs/bytes/issues/592)) ##### Documented - Document which functions require `std` ([#&#8203;591](https://github.com/tokio-rs/bytes/issues/591)) - Fix duplicate "the the" typos ([#&#8203;585](https://github.com/tokio-rs/bytes/issues/585)) ### [`v1.3.0`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#130-November-20-2022) [Compare Source](https://github.com/tokio-rs/bytes/compare/v1.2.1...v1.3.0) ##### Added - Rename and expose `BytesMut::spare_capacity_mut` ([#&#8203;572](https://github.com/tokio-rs/bytes/issues/572)) - Implement native-endian get and put functions for `Buf` and `BufMut` ([#&#8203;576](https://github.com/tokio-rs/bytes/issues/576)) ##### Fixed - Don't have important data in unused capacity when calling reserve ([#&#8203;563](https://github.com/tokio-rs/bytes/issues/563)) ##### Documented - `Bytes::new` etc should return `Self` not `Bytes` ([#&#8203;568](https://github.com/tokio-rs/bytes/issues/568)) ### [`v1.2.1`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#121-July-30-2022) [Compare Source](https://github.com/tokio-rs/bytes/compare/v1.2.0...v1.2.1) ##### Fixed - Fix unbounded memory growth when using `reserve` ([#&#8203;560](https://github.com/tokio-rs/bytes/issues/560)) ### [`v1.2.0`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#120-July-19-2022) [Compare Source](https://github.com/tokio-rs/bytes/compare/v1.1.0...v1.2.0) ##### Added - Add `BytesMut::zeroed` ([#&#8203;517](https://github.com/tokio-rs/bytes/issues/517)) - Implement `Extend<Bytes>` for `BytesMut` ([#&#8203;527](https://github.com/tokio-rs/bytes/issues/527)) - Add conversion from `BytesMut` to `Vec<u8>` ([#&#8203;543](https://github.com/tokio-rs/bytes/issues/543), [#&#8203;554](https://github.com/tokio-rs/bytes/issues/554)) - Add conversion from `Bytes` to `Vec<u8>` ([#&#8203;547](https://github.com/tokio-rs/bytes/issues/547)) - Add `UninitSlice::as_uninit_slice_mut()` ([#&#8203;548](https://github.com/tokio-rs/bytes/issues/548)) - Add const to `Bytes::{len,is_empty}` ([#&#8203;514](https://github.com/tokio-rs/bytes/issues/514)) ##### Changed - Reuse vector in `BytesMut::reserve` ([#&#8203;539](https://github.com/tokio-rs/bytes/issues/539), [#&#8203;544](https://github.com/tokio-rs/bytes/issues/544)) ##### Fixed - Make miri happy ([#&#8203;515](https://github.com/tokio-rs/bytes/issues/515), [#&#8203;523](https://github.com/tokio-rs/bytes/issues/523), [#&#8203;542](https://github.com/tokio-rs/bytes/issues/542), [#&#8203;545](https://github.com/tokio-rs/bytes/issues/545), [#&#8203;553](https://github.com/tokio-rs/bytes/issues/553)) - Make tsan happy ([#&#8203;541](https://github.com/tokio-rs/bytes/issues/541)) - Fix `remaining_mut()` on chain ([#&#8203;488](https://github.com/tokio-rs/bytes/issues/488)) - Fix amortized asymptotics of `BytesMut` ([#&#8203;555](https://github.com/tokio-rs/bytes/issues/555)) ##### Documented - Redraw layout diagram with box drawing characters ([#&#8203;539](https://github.com/tokio-rs/bytes/issues/539)) - Clarify `BytesMut::unsplit` docs ([#&#8203;535](https://github.com/tokio-rs/bytes/issues/535)) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTQuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM1NC41IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
pierre added 1 commit 2024-05-11 00:30:17 +00:00
Author
Owner

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

### Edited/Blocked Notification Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. ⚠️ **Warning**: custom changes will be lost.
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/bytes-1.x-lockfile:renovate/bytes-1.x-lockfile
git checkout renovate/bytes-1.x-lockfile
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: pierre/PagesServer#21
No description provided.