mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-25 00:00:22 +02:00
chore: prepare bytes v1.2.0 (#556)
This commit is contained in:
@@ -1,3 +1,30 @@
|
|||||||
|
# 1.2.0 (July 19, 2022)
|
||||||
|
|
||||||
|
### 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
|
||||||
|
|
||||||
|
- Reuse vector in `BytesMut::reserve` (#539, #544)
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Make miri happy (#515, #523, #542, #545, #553)
|
||||||
|
- Make tsan happy (#541)
|
||||||
|
- Fix `remaining_mut()` on chain (#488)
|
||||||
|
- Fix amortized asymptotics of `BytesMut` (#555)
|
||||||
|
|
||||||
|
### Documented
|
||||||
|
|
||||||
|
- Redraw layout diagram with box drawing characters (#539)
|
||||||
|
- Clarify `BytesMut::unsplit` docs (#535)
|
||||||
|
|
||||||
# 1.1.0 (August 25, 2021)
|
# 1.1.0 (August 25, 2021)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ name = "bytes"
|
|||||||
# When releasing to crates.io:
|
# When releasing to crates.io:
|
||||||
# - Update CHANGELOG.md.
|
# - Update CHANGELOG.md.
|
||||||
# - Create "v1.x.y" git tag.
|
# - Create "v1.x.y" git tag.
|
||||||
version = "1.1.0"
|
version = "1.2.0"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = [
|
authors = [
|
||||||
"Carl Lerche <[email protected]>",
|
"Carl Lerche <[email protected]>",
|
||||||
|
|||||||
Reference in New Issue
Block a user