Update Rust crate bytes to v1.7.0 #168

Merged
pierre merged 1 commits from renovate/bytes-1.x-lockfile into master 2024-08-23 07:55:17 +00:00
Owner

This PR contains the following updates:

Package Type Update Change
bytes dependencies minor 1.6.1 -> 1.7.0

Release Notes

tokio-rs/bytes (bytes)

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)

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.6.1` -> `1.7.0` | --- ### Release Notes <details> <summary>tokio-rs/bytes (bytes)</summary> ### [`v1.7.0`](https://github.com/tokio-rs/bytes/blob/HEAD/CHANGELOG.md#170-July-31-2024) [Compare Source](https://github.com/tokio-rs/bytes/compare/v1.6.1...v1.7.0) ##### Added - Add conversion from `Bytes` to `BytesMut` ([#&#8203;695](https://github.com/tokio-rs/bytes/issues/695), [#&#8203;710](https://github.com/tokio-rs/bytes/issues/710)) - Add reclaim method without additional allocation ([#&#8203;686](https://github.com/tokio-rs/bytes/issues/686)) ##### Documented - Clarify how `BytesMut::zeroed` works ([#&#8203;714](https://github.com/tokio-rs/bytes/issues/714)) - Clarify the behavior of `Buf::chunk` ([#&#8203;717](https://github.com/tokio-rs/bytes/issues/717)) ##### Changed - Change length condition of `BytesMut::truncate` - Reuse capacity when possible in `<BytesMut as Buf>::advance` impl ([#&#8203;698](https://github.com/tokio-rs/bytes/issues/698)) - Improve `must_use` suggestion of `BytesMut::split` ([#&#8203;699](https://github.com/tokio-rs/bytes/issues/699)) ##### Internal changes - Use `ManuallyDrop` instead of `mem::forget` ([#&#8203;678](https://github.com/tokio-rs/bytes/issues/678)) - Don't set `len` in `BytesMut::reserve` ([#&#8203;682](https://github.com/tokio-rs/bytes/issues/682)) - Optimize `Bytes::copy_to_bytes` ([#&#8203;688](https://github.com/tokio-rs/bytes/issues/688)) - Refactor `BytesMut::truncate` ([#&#8203;694](https://github.com/tokio-rs/bytes/issues/694)) - Refactor `BytesMut::resize` ([#&#8203;696](https://github.com/tokio-rs/bytes/issues/696)) - Reorder assertion in `Bytes::split_to`, `Bytes::split_off` ([#&#8203;689](https://github.com/tokio-rs/bytes/issues/689), [#&#8203;693](https://github.com/tokio-rs/bytes/issues/693)) - Use `offset_from` in more places ([#&#8203;705](https://github.com/tokio-rs/bytes/issues/705)) - Correct the wrong usage of `IntoIter` ([#&#8203;707](https://github.com/tokio-rs/bytes/issues/707)) </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:eyJjcmVhdGVkSW5WZXIiOiIzOC4xNy4xIiwidXBkYXRlZEluVmVyIjoiMzguMTcuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
pierre added 1 commit 2024-08-01 00:10:41 +00:00
Update Rust crate bytes to v1.7.0
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
3c3a84d9ea
pierre scheduled this pull request to auto merge when all checks succeed 2024-08-01 00:10:41 +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.
pierre merged commit 113bf913e2 into master 2024-08-23 07:55:17 +00:00
pierre deleted branch renovate/bytes-1.x-lockfile 2024-08-23 07:55:18 +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#168
No description provided.