#async-write #combine #single #seperate

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

#1373 in Asynchronous

Download history 159/week @ 2024-11-29 216/week @ 2024-12-06 186/week @ 2024-12-13 51/week @ 2024-12-20 24/week @ 2024-12-27 52/week @ 2025-01-03 66/week @ 2025-01-10 137/week @ 2025-01-17 296/week @ 2025-01-24 236/week @ 2025-01-31 189/week @ 2025-02-07 148/week @ 2025-02-14 126/week @ 2025-02-21 145/week @ 2025-02-28 193/week @ 2025-03-07 268/week @ 2025-03-14

756 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