FastQueue (fq)
A fast and simple ring-buffer-based single-producer, single-consumer queue with no dependencies. You can use this to write Rust programs with low-latency message passing.
[!IMPORTANT] This crate is highly experimental.
Installation
Add this to your Cargo.toml:
[]
= "0.0.2"
Quickstart
use FastQueue;
use thread;
let = new;
let sender = spawn;
let receiver = spawn;
sender.join.expect;
receiver.join.expect;
License
Licensed under either of:
- MIT license (LICENSE-MIT)
- Lesser General Public license v3.0 or later (LICENSE-LGPL) at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the LGPL-3.0 license, shall be dual licensed as above, without any additional terms or conditions.