2 releases
Uses old Rust 2015
0.1.1 | Sep 16, 2016 |
---|---|
0.1.0 | Sep 5, 2016 |
#27 in #circular
Used in defrag
12KB
264 lines
cbuf - Circular buffer
Introduction
Non-thread-shareable, simple and efficient Circular Buffer implementation that can store N elements when full (typical circular buffer implementations store N-1) without using additional flags.
Uses only core
so can be used in #[no_std]
projects by using
no_std
feature.
Usage
In Carto.toml
[dependencies]
cbuf = "*"
In src/main.rs
:
extern crate cbuf;
lib.rs
:
Non-thread-shareable, simple and efficient Circular Buffer implementation that can store N elements when full (typical circular buffer implementations store N-1) without using separate flags.
Uses only core
so can be used in #[no_std]
projects by using
no_std
feature.