Show the crate…
3 releases (breaking)
0.9.0 | Mar 11, 2021 |
---|---|
0.8.0 | Mar 4, 2021 |
0.0.0 | Mar 3, 2021 |
#46 in #io-stream
43 downloads per month
Used in 40 crates
(3 directly)
125KB
2.5K
SLoC
Remux
A yamux deriviative 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 Remux 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 implementsfutures::io::AsyncRead
andfutures::io::AsyncWrite
, andControl
, to asynchronously control theConnection
.
Dependencies
~1.6–2.4MB
~40K SLoC