docs.rs failed to build streamfly-0.1.0
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.
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.
StreamFly
StreamFly aims to be a stream-oriented Pub/Sub framework.
Quickstart
- create a streamfly client
let mut client = new_client
.await?;
- subscribe streams, and then receive data
let rx = client.subscribe.await?;
loop
- publish a stream, and then write data to the stream
let = client.open_stream.await?;
writer.write_all.await?;
Build
- build streamfly cli command
RUSTFLAGS="--cfg s2n_quic_unstable"
- build examples
RUSTFLAGS="--cfg s2n_quic_unstable"
Run the demo
- start the streamfly server
RUST_LOG=debug
- start a receiver
RUST_LOG=debug
- start a sender
RUST_LOG=debug
- you can start another receiver
RUST_LOG=debug