42 releases
0.13.4 | Nov 18, 2024 |
---|---|
0.13.3 | Jun 7, 2024 |
0.13.2 | Apr 30, 2024 |
0.13.1 | Dec 6, 2023 |
0.1.0 | Nov 9, 2018 |
#44 in Network programming
404,885 downloads per month
Used in 305 crates
(8 directly)
120KB
2.5K
SLoC
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.
lib.rs
:
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::AsyncRead
andfutures::io::AsyncWrite
.
Dependencies
~1.8–7.5MB
~57K SLoC