#tokio #buffer #stream #tcp

tk-bufstream

A buffered stream backed by contiguous buffers (netbuf) for tokio

7 releases

0.3.0 Mar 30, 2017
0.2.4 Feb 17, 2017
0.2.3 Dec 29, 2016
0.2.0 Nov 22, 2016
0.1.0 Oct 20, 2016

#164 in Asynchronous

Download history 122/week @ 2019-07-03 82/week @ 2019-07-10 20/week @ 2019-07-17 44/week @ 2019-07-24 47/week @ 2019-07-31 78/week @ 2019-08-07 134/week @ 2019-08-14 205/week @ 2019-08-21 287/week @ 2019-08-28 197/week @ 2019-09-04 139/week @ 2019-09-11 257/week @ 2019-09-18 167/week @ 2019-09-25 241/week @ 2019-10-02 158/week @ 2019-10-09

309 downloads per month
Used in 12 crates (5 directly)

MIT/Apache

31KB
623 lines

Buffered Stream Abstraction for Tokio (Rust)

Status:Alpha

Unlike in synchronous code, where buffered stream are very common, in async code buffers are usually put in some glue code (I guess it's called Transport in tokio-proto).

This crate explores alternative idea of tying buffers (and some helpers for making transports) to IO Stream, which might make certain cases easier.

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~550KB