Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare bytes v1.1.0 #509

Merged
merged 2 commits into from
Aug 25, 2021
Merged

Prepare bytes v1.1.0 #509

merged 2 commits into from
Aug 25, 2021

Conversation

Darksonn
Copy link
Contributor

1.1.0 (August 25, 2021)

Added

  • BufMut::put_bytes(self, val, cnt) (#487)
  • Implement From<Box<[u8]>> for Bytes (#504)

Changed

  • Override put_slice for &mut [u8] (#483)
  • Panic on integer overflow in Chain::remaining (#482)
  • Add inline tags to UninitSlice methods (#443)
  • Override copy_to_bytes for Chain and Take (#481)
  • Keep capacity when unsplit on empty other buf (#502)

Documented

  • Clarify BufMut allocation guarantees (#501)
  • Clarify BufMut::put_int behavior (#486)
  • Clarify actions of clear and truncate. (#508)

Cargo.toml Outdated Show resolved Hide resolved
Co-authored-by: Taiki Endo <te316e89@gmail.com>
@Darksonn Darksonn merged commit ebc61e5 into master Aug 25, 2021
@Darksonn Darksonn deleted the prepare-bytes-1.1.0 branch August 25, 2021 15:48
lelongg pushed a commit to lelongg/bytes that referenced this pull request Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants