Crates.io | fifo |
lib.rs | fifo |
version | 0.2.0 |
source | src |
created_at | 2017-03-28 07:05:44.225103 |
updated_at | 2017-04-12 08:04:47.295387 |
description | First-in-first-out lock-free ring-buffer like kfifo in Linux |
homepage | https://github.com/hicqu/fifo-rs |
repository | |
max_upload_size | |
id | 9177 |
size | 13,483 |
Fifo is a first-in-first-out bytes ring-buffer, like kfifo in Linux.
API documentation
Sender
and Receiver
implements Write
and Read
, like mpsc::channel
.To use fifo
, first add this to your Cargo.toml
:
fifo = "0.1.*"
Then, add this to your crate root:
extern crate fifo;
Here is an example.
For simple bug fixes, just submit a PR with the fix and we can discuss the fix directly in the PR. If the fix is more complex, start with an issue.
If you want to propose an API change, create an issue to start a discussion with the community. Also, feel free to talk with us in the IRC channel.