34 releases

0.11.0 Dec 1, 2022
0.10.2 Aug 5, 2022
0.10.1 Mar 14, 2022
0.9.0 Feb 16, 2021
0.1.0 Nov 9, 2018

#1807 in Network programming

Download history 28768/week @ 2022-11-29 29780/week @ 2022-12-06 27136/week @ 2022-12-13 21616/week @ 2022-12-20 15599/week @ 2022-12-27 24622/week @ 2023-01-03 26509/week @ 2023-01-10 29053/week @ 2023-01-17 30144/week @ 2023-01-24 29222/week @ 2023-01-31 27802/week @ 2023-02-07 30462/week @ 2023-02-14 31369/week @ 2023-02-21 30841/week @ 2023-02-28 32121/week @ 2023-03-07 28407/week @ 2023-03-14

127,275 downloads per month
Used in 102 crates (5 directly)

Apache-2.0 OR MIT

110KB
2.5K SLoC

This crate implements the Yamux specification.

It multiplexes independent I/O streams over reliable, ordered connections, such as TCP/IP.

The three primary objects, clients of this crate interact with, are:

  • [Connection], which wraps the underlying I/O resource, e.g. a socket,
  • [Stream], which implements [futures::io::AsyncRead] and [futures::io::AsyncWrite], and
  • [Control], to asynchronously control the [Connection].

Dependencies

~1.6–5.5MB
~90K SLoC