docs.rs failed to build mux-0.0.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: mux-0.1.1

mux-rust

Build Status

An implementation of the Mux protocol in Rust.

This library includes a Reader and Writer for mux messages. Due to the nature of the Rust language, these APIs are extremely unstable and likely to change.

Building

Use cargo:

$ cargo build

Running examples

Build example server and client:

$ cargo test
...

Run a thread-per-connection server:

$ target/examples/server
serving on 0.0.0.0:6666
-- 127.0.0.1:50047: connected
5730 rps
8627 rps

Run a single-threaded client:

$ target/example/client
-- 127.0.0.1:6666: connected: 127.0.0.1:50047
0 rps
8520 rps
7994 rps