ringbuffer 1.0.0

A fixed-size circular buffer
Documentation
[package]
name = "ringbuffer"
version = "1.0.0"
authors = ["Victor Roest <victor@xirion.net>", "Jonathan Dönszelmann <jonabent@gmail.com>"]
edition = "2018"
description = "A fixed-size circular buffer"
repository = "https://git.xirion.net/0x76/ringbuffer/"
keywords = ["ring", "cyclic", "circular", "buffer", "no-std"]
categories = ["data-structures"]
license = "LGPL-3.0"

[profile.release]
opt-level = 3
lto = true

[dependencies]
generic-array = {version = "0.14.4", optional=true}

[features]
default = ["alloc", "generic-array"]
# disable the alloc based ringbuffer, to make RingBuffers work in no_alloc environments
alloc = []
# enable to allow creating uninitialized RingBuffers when using the generic feature
generic_uninit = []

# enable the version of RingBuffer which uses the experimental const_generics feature of rust
const_generics = []