26 releases
Uses old Rust 2015
0.6.1 | Dec 30, 2017 |
---|---|
0.6.0 | May 1, 2017 |
0.5.1 | Jan 7, 2017 |
0.5.0 | Aug 27, 2016 |
0.1.0 | Mar 30, 2016 |
#17 in #buffered
57 downloads per month
115KB
2K
SLoC
netio
Alternative implementation of many functions found in std::io
, but suitable
for blocking IO over networks.
- Documentation for v0.1.4
- Documentation for v0.2.9
- Documentation for v0.3.3
- Documentation for v0.4.2
- Documentation for v0.5.1
- Documentation for v0.6.0-pre (unreleased)
Description
The main reason for this crate is the handling of
std::io::ErrorKind::Interrupted
in std::io
:
Except for read()
and write()
, almost all functions will ignore interrupts
and just retry.
This crate provides alternative implementations using a similar API but allow for interrupts whithout losing any content.
Most functions are based on BufRead
instead of Read
to ensure that no
content is lost on retry.
Dependencies
~750KB
~12K SLoC