# ringobuf
[](https://crates.io/crates/ringobuf)
[](https://docs.rs/ringobuf)
[](https://nogithub.codeberg.page)
A `stack` based `ring buffer` for `no_std` enviromnents.
The size of the buffer is guaranteed to be a power of 2 to achieve faster
modulo operation through masking (no division operation used).
Uses rust nightly because of `generic_const_exprs`. Users need to also enable
that feature when creating the buffer with `#![feature(generic_const_exprs)]`.