#combine #async-io #async-read #async-write #single #type

tokio-duplex

Combine seperate AsyncRead and AsyncWrite types into a single AsyncRead + AsyncWrite type

2 stable releases

1.0.1 May 28, 2022
0.1.0 May 28, 2022

#1058 in Asynchronous

Download history 132/week @ 2024-07-24 132/week @ 2024-07-31 177/week @ 2024-08-07 204/week @ 2024-08-14 230/week @ 2024-08-21 174/week @ 2024-08-28 119/week @ 2024-09-04 119/week @ 2024-09-11 184/week @ 2024-09-18 164/week @ 2024-09-25 349/week @ 2024-10-02 173/week @ 2024-10-09 182/week @ 2024-10-16 171/week @ 2024-10-23 126/week @ 2024-10-30 43/week @ 2024-11-06

552 downloads per month

MIT/Apache

4KB
53 lines

This crate provides only a single type (Duplex), which allows combining an AsyncRead type and an AsyncWrite type into a single AsyncRead + AsyncWrite type.

Dependencies

~2–7.5MB
~47K SLoC