skrillax
skrillax copied to clipboard
Bump bytes from 1.5.0 to 1.6.0
Bumps bytes from 1.5.0 to 1.6.0.
Release notes
Sourced from bytes's releases.
Bytes 1.6.0 (March 22, 2024)
Added
- Add
Bytes::is_unique
(#643)Documented
- Fix changelog typo (#628)
- Fix some spelling mistakes (#633)
- Typo fix (#637)
- Fix broken links (#639)
- Add security policy (#649)
Internal changes
- Move comment to correct constant (#629)
- Various cleanup (#635)
- Simplify
UninitSlice::as_uninit_slice_mut()
logic (#644)- Use
self.
instead ofSelf::
(#642)BytesMut
: Assert alignment ofShared
(#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 ofoffset
(#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 ofmem::forget
(#675)
Changelog
Sourced from bytes's changelog.
1.6.0 (March 22, 2024)
Added
- Add
Bytes::is_unique
(#643)Documented
- Fix changelog typo (#628)
- Fix some spelling mistakes (#633)
- Typo fix (#637)
- Fix broken links (#639)
- Add security policy (#649)
Internal changes
- Move comment to correct constant (#629)
- Various cleanup (#635)
- Simplify
UninitSlice::as_uninit_slice_mut()
logic (#644)- Use
self.
instead ofSelf::
(#642)BytesMut
: Assert alignment ofShared
(#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 ofoffset
(#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 ofmem::forget
(#675)
Commits
ce8d8a0
chore: prepare bytes v1.6.0 (#681)536db06
Use ManuallyDrop instead of mem::forget (#675)ca00411
Remove commented tests for Bytes::unsplit (#677)7968f6f
Remove redundant reserve call (#674)c5fae00
copy_to_bytes: Add panic section to docs (#676)99584cc
Use Iterator from the prelude (#673)4628927
Refactor split_at/split_to (#663)1bcd212
get_vec_pos: use &self instead of &mut self (#670)f586ffc
set_vec_pos does not need a second parameter (#672)c6972d6
Calculate original capacity only if necessary (#666)- Additional commits viewable in compare view
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 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 <dependency name> 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)