4 releases (2 breaking)

0.2.0-alpha.1 Aug 8, 2019
0.1.1 Apr 22, 2019
0.1.0 Feb 24, 2019
0.0.0 Aug 20, 2018

#2830 in Asynchronous

Download history 6134/week @ 2025-12-26 10654/week @ 2026-01-02 8969/week @ 2026-01-09 11873/week @ 2026-01-16 12977/week @ 2026-01-23 12282/week @ 2026-01-30 11290/week @ 2026-02-06 13536/week @ 2026-02-13 14885/week @ 2026-02-20 21260/week @ 2026-02-27 49184/week @ 2026-03-06 16239/week @ 2026-03-13 25575/week @ 2026-03-20 21087/week @ 2026-03-27 22939/week @ 2026-04-03 23518/week @ 2026-04-10

96,192 downloads per month
Used in 1,039 crates (4 directly)

MIT license

26KB
548 lines

Asynchronous stream of bytes.

This crate contains the BufStream trait and a number of combinators for this trait. The trait is similar to Stream in the futures library, but instead of yielding arbitrary values, it only yields types that implement Buf (i.e, byte collections).


tokio-buf

Asynchronous stream of byte buffers

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tokio by you, shall be licensed as MIT, without any additional terms or conditions.

Dependencies

~470KB