Carl Lerche
9aaa8f06d1
Stop using deprecated bytes APIs ( #324 )
...
This also adds a filter for another treiber stack expected data race. The
race is expected as part of the algorithm.
2018-04-28 12:25:22 -07:00
Carl Lerche
e18c23afa1
Bump tokio to v0.1.2 ( #201 )
...
This also bumps tokio-io to v0.1.6 and prepares for the initial release
of tokio-executor, tokio-reactor, and tokio-threadpool.
2018-03-08 20:15:51 -08:00
Colin Rofls
ae20270d00
Fixup docs for AllowStdIo ( #184 )
2018-03-06 10:41:24 -08:00
Carl Lerche
21c0f3a9d8
Add AsyncRead::poll_read, AsyncWrite::poll_write. ( #170 )
...
This removes the need for the `try_nb` macro as well as bring the traits
closer in line with the planed 0.2 iteration.
2018-03-02 15:15:05 -08:00
Carl Lerche
df19119c0a
Add io facade and update reactor docs ( #166 )
...
This patch updates the documentation for a number of APIs. It also
introduces a prelude module and an io facade module, re-exporting types
from tokio-io.
2018-03-01 21:48:18 -08:00
Ben Boeckel
40cbd0f296
length_delimited: add a native_endian builder method ( #144 )
...
This method is useful when reading from a operating system service.
2018-02-26 10:38:56 -08:00
Roman
88a7030f73
Split io code ( #129 )
...
* move src/io.rs -> src/io/mod.rs
* move src/read.rs -> src/io/read.rs
* move src/read_exact.rs -> src/io/read_exact.rs
* move src/read_until.rs -> src/io/read_until.rs
* move src/read_to_end.rs -> src/io/read_to_end.rs
* move src/flush.rs -> src/io/flush.rs
* move src/copy.rs -> src/io/copy.rs
* move src/shutdown.rs -> src/io/shutdown.rs
* move src/write_all.rs -> src/io/write_all.rs
* move Async{Read,Write} => src/io/async_{read,write}.rs
* move Async{Read,Write} => src/async_{read,write}.rs
2018-02-12 09:52:05 -08:00
Roman
35aeabd3ff
Split codec code ( #128 )
...
* move src/codec.rs -> src/codec/mod.rs
* Move traits Encoder and Decoder from src/framed_{read|write}.rs into src/codec/{encoder,decoder}.rs
* Move LinesCodec and BytesCodec from src/codecs.rs into src/codec/{lines,bytes}_codec.rs
2018-02-12 09:10:19 -08:00
cssivision
73b763f69f
Fix: struct shoutdown ignore Async::NotReady ( #114 )
2018-02-06 13:30:05 -08:00
Carl Lerche
b9db119b45
Move tokio-io into the git repository. ( #96 )
...
The crates remain separate, but are now developed in the same git
repository using cargo workspaces.
This facilitates making coordinated changes.
2018-01-31 21:06:42 -08:00