tokio-rs / bytes

Utilities for working with bytes
MIT License
1.91k stars 288 forks source link

Release a new version of bytes #578

Closed Phantomical closed 1 year ago

Phantomical commented 1 year ago

Would it be possible to get a new release of bytes? I would like to use the new methods on Buf from #576 in the perf-event crate (see https://github.com/jimblandy/perf-event/pull/22) but for that to happen they need to be available on crates.io first.

Darksonn commented 1 year ago

This is something that's been on my todo-list for a while. (Along with quite a few other crates that need a release.) I will get around to it eventually. If you want to speed up the process, you can help me by writing the changelog. (See #556 for an example.)

Phantomical commented 1 year ago

Here's my attempt at a changelog. If everything looks right I can submit a PR for this.

1.3.0 (Date TBD)

Added

  • Rename and expose BytesMut::spare_capacity_mut (#572)
  • Implement native-endian get and put functions for Buf and BufMut (#576)

Fixed

  • Don't have important data in unused capacity when calling reserve (#563)

Documented

  • Bytes::new etc should return Self not Bytes (#568)
Markdown Source ```markdown # 1.3.0 (Date TBD) ### Added - Rename and expose `BytesMut::spare_capacity_mut` (#572) - Implement native-endian get and put functions for `Buf` and `BufMut` (#576) ### Fixed - Don't have important data in unused capacity when calling reserve (#563) ### Documented - `Bytes::new` etc should return `Self` not `Bytes` (#568) ```
Darksonn commented 1 year ago

Looks good to me.