An open API service indexing awesome lists of open source software.

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

Circular Buffer for Rust
https://github.com/dpc/cbuf-rs

Last synced: 8 months ago
JSON representation

Circular Buffer for Rust

Awesome Lists containing this project

README

          

# cbuf - Circular buffer



Travis CI Build Status


crates.io


Gitter Chat



Documentation

## 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;