#io #stream #async #pipebuf

pipebuf_mio

PipeBuf support for mio byte-streams

3 unstable releases

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

#730 in Asynchronous

Download history 7/week @ 2024-02-14 66/week @ 2024-02-21 34/week @ 2024-02-28 12/week @ 2024-03-06 45/week @ 2024-03-13 6/week @ 2024-03-20 9/week @ 2024-03-27 14/week @ 2024-04-03 111/week @ 2024-04-10 24/week @ 2024-04-17

135 downloads per month

MIT/Apache

17KB
199 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.4–10MB
~62K SLoC