Skip to content

Releases: sunshowers-code/buf-list

buf-list 1.0.3

09 Apr 20:17
Compare
Choose a tag to compare
  • Documentation improvements.

buf-list 1.0.2

09 Apr 20:03
Compare
Choose a tag to compare

Added

  • A new type Cursor which wraps a BufList or &BufList, and implements Seek, Read and BufRead.
  • BufList implements From<T> for any T that can be converted to Bytes. This creates a
    BufList with a single chunk.
  • BufList::get_chunk returns the chunk at the provided index.
  • New optional features:
    • tokio1: makes Cursor implement tokio's AsyncSeek, AsyncRead and AsyncBufRead
    • futures03: makes Cursor implement futures's AsyncSeek, AsyncRead and AsyncBufRead.

buf-list 1.0.1

17 Feb 00:42
Compare
Choose a tag to compare

Added

  • Add recipes for converting a BufList into a Stream or a TryStream.

buf-list 1.0.0

06 Jan 19:45
Compare
Choose a tag to compare

Added

  • BufList now implements Extend<B: Buf>. This means you can now collect a stream of Bytes, or other Buf chunks, directly into a BufList via StreamExt::collect.

Changed

  • push_chunk now has a type parameter B: Buf rather than impl Buf.

buf-list 0.1.3

11 Dec 18:09
Compare
Choose a tag to compare
  • Fix license indication in README: this crate is Apache-2.0 only, not MIT OR Apache-2.0.

buf-list 0.1.2

11 Dec 07:08
Compare
Choose a tag to compare
  • Fix intradoc links.

buf-list 0.1.1

11 Dec 07:00
Compare
Choose a tag to compare
  • Fixes to README.
  • Add MSRV policy.

buf-list 0.1.0

11 Dec 06:54
Compare
Choose a tag to compare
  • Initial release.