Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
vi committed Mar 8, 2021
1 parent 85a95df commit b6096c9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ fn main() {
}
```

There is also async implementation for combining `tokio_io::AsyncRead` and `tokio_io::AsyncWrite` into a `AsyncRead + AsyncWrite`. Enable the non-default `tokio` Cargo feature for it to work:
There is also async implementation for combining `tokio::io::AsyncRead` and `tokio::io::AsyncWrite` into a `AsyncRead + AsyncWrite`. Enable the non-default `tokio` Cargo feature for it to work:
Similarly there is `futures::io::AsyncRead/AsyncWrite` version gated under `asyncstd` Cargo feature.

```
[dependencies]
Expand All @@ -26,4 +27,5 @@ readwrite = {version="0.1.1", features=["tokio"]}

# See also

* [duplexify](https://github.com/async-rs/duplexify) for async-std version.
* [duplexify](https://github.com/async-rs/duplexify) - alternative implementation for async-std
* Use version `0.1` of this crate for old `tokio-core` support. `tokio 0.1` is not supported.

0 comments on commit b6096c9

Please sign in to comment.