Single-producer, single-consumer message queues that are futures-aware.
First, add this to your Cargo.toml
:
[dependencies]
futures-spsc = { git = "https://github.com/alexcrichton/futures-spsc" }
Next, add this to your crate:
extern crate futures_spsc;
futures-spsc
is primarily distributed under the terms of both the MIT license
and the Apache License (Version 2.0), with portions covered by various BSD-like
licenses.
See LICENSE-APACHE, and LICENSE-MIT for details.