Update Rust crate bytes to 1.6.0 #131

Merged
pierre merged 1 commits from renovate/bytes-1.x into master 2024-03-23 01:03:44 +00:00
Owner

This PR contains the following updates:

Package Type Update Change
bytes dependencies minor 1.5.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)

Configuration

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

🚦 Automerge: Enabled.

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.5.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)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjYuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2Ni4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
pierre added 1 commit 2024-03-23 00:28:48 +00:00
Update Rust crate bytes to 1.6.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2db7e9596a
pierre scheduled this pull request to auto merge when all checks succeed 2024-03-23 00:28:48 +00:00
pierre merged commit 2db7e9596a into master 2024-03-23 01:03:44 +00:00
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/tcp-over-http#131
No description provided.