#circular-buffer #circular #buffer #no-std #data #core

yanked dpc-cbuf

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 old Rust 2015

0.0.1 Jun 20, 2015

#39 in #circular

MPL-2.0 license

11KB
272 lines

Build Status

cbuf

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 separate flags.

Uses only core so can be used in #[no_std] projects by using no_std feature.

Usage

In Carto.toml

[dependencies]
dpc-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.

No runtime deps

Features