#async-io #io #pipebuf #stream #async

pipebuf_mio

PipeBuf support for mio byte-streams

4 releases

0.2.1 May 28, 2024
0.2.0 Apr 15, 2024
0.1.1 Jul 4, 2023
0.1.0 Jun 7, 2023

#1702 in Asynchronous

Download history 7/week @ 2024-09-20 2/week @ 2024-09-27

255 downloads per month

MIT/Apache

18KB
203 lines

PipeBuf support for mio byte-streams

This provides types to manage transferring data between pipe-buffers and mio byte-stream types such as TcpStream and UnixStream. This would typically be combined with PipeBuf-based protocol handlers (TLS, WS, HTTP, etc) to form a complete working solution.

Documentation

See the crate documentation.

License

This project is licensed under either the Apache License version 2 or the MIT license, at your option. (See LICENSE-APACHE and LICENSE-MIT).

Contribution

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


lib.rs:

PipeBuf connectors for mio types

This permits I/O between pipe-buffers and streaming-based interfaces.

Dependencies

~0.5–10MB
~53K SLoC