12 releases
0.1.11 | Feb 14, 2023 |
---|---|
0.1.10 | Feb 13, 2023 |
0.1.5 | Jan 27, 2023 |
#3 in #cancellation
48 downloads per month
43KB
623 lines
mtcp – Metal TCP
mtcp provides a “blocking” implementation of TcpListener
and
TcpStream
with proper timeout and cancellation support. The
"blocking" I/O operations in mtcp are emulated via non-blocking
operations, using the mio
library.
Crates.io:
https://crates.io/crates/mtcp-rs
API Documentation:
https://docs.rs/mtcp-rs/latest/index.html
Examples:
https://github.com/dEajL3kA/mtcp/tree/master/examples
Discuss:
https://users.rust-lang.org/t/87983
Dependencies
~0.5–11MB
~65K SLoC