From e37e0468ee73ccc12f719db69c218bf6cb8499f9 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 31 Jul 2024 17:02:46 -0600
Subject: [PATCH] build(deps): bump bytes from 1.6.1 to 1.7.0 (#1637)
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.6.1 to 1.7.0.
Release notes
Sourced from bytes's
releases.
Bytes 1.7.0
1.7.0 (July 31, 2024)
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)
Changelog
Sourced from bytes's
changelog.
1.7.0 (July 31, 2024)
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)
Commits
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=bytes&package-manager=cargo&previous-version=1.6.1&new-version=1.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
Cargo.lock | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index f8420283d..190f6b316 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -160,9 +160,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
[[package]]
name = "bytes"
-version = "1.6.1"
+version = "1.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a12916984aab3fa6e39d655a33e09c0071eb36d6ab3aea5c2d78551f1df6d952"
+checksum = "fca2be1d5c43812bae364ee3f30b3afcb7877cf59f4aeb94c66f313a41d2fac9"
[[package]]
name = "cc"