#async-write #async-read #async-io #combine #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

#2071 in Asynchronous

Download history 106/week @ 2025-10-13 131/week @ 2025-10-20 224/week @ 2025-10-27 466/week @ 2025-11-03 168/week @ 2025-11-10 238/week @ 2025-11-17 190/week @ 2025-11-24 176/week @ 2025-12-01 195/week @ 2025-12-08 100/week @ 2025-12-15 79/week @ 2025-12-22 51/week @ 2025-12-29 167/week @ 2026-01-05 218/week @ 2026-01-12 317/week @ 2026-01-19 453/week @ 2026-01-26

1,156 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

~1.8–2.5MB
~35K SLoC