dpc-cbuf

Crates.iodpc-cbuf
lib.rsdpc-cbuf
version0.0.1
sourcesrc
created_at2015-06-20 04:34:42.70534
updated_at2015-12-11 23:58:31.338387
descriptionNon-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.
homepagehttps://github.com/dpc/cbuf-rs
repositoryhttps://github.com/dpc/cbuf-rs
max_upload_size
id2426
size27,607
Dawid Ciężarkiewicz (dpc)

documentation

https://dpc.github.io/cbuf-rs/

README

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;
Commit count: 19

cargo fmt