46 releases
| 0.13.8 | Oct 24, 2025 |
|---|---|
| 0.13.6 | Jul 24, 2025 |
| 0.13.4 | Nov 18, 2024 |
| 0.13.3 | Jun 7, 2024 |
| 0.1.0 | Nov 9, 2018 |
#43 in Network programming
847,101 downloads per month
Used in 422 crates
(15 directly)
120KB
3K
SLoC
This crate implements the Yamux specification.
It multiplexes independent I/O streams over reliable, ordered connections, such as TCP/IP.
The two primary objects, clients of this crate interact with, are:
Connection, which wraps the underlying I/O resource, e.g. a socket, and provides methods for opening outbound or accepting inbound streams.Stream, which implementsfutures::io::AsyncReadandfutures::io::AsyncWrite.
Yamux
A stream multiplexer over reliable, ordered connections such as TCP/IP. Implements https://github.com/hashicorp/yamux/blob/master/spec.md
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~1.8–3MB
~55K SLoC