ringobuf

Crates.ioringobuf
lib.rsringobuf
version0.1.0
created_at2025-10-30 20:32:45.804335+00
updated_at2025-10-30 20:32:45.804335+00
descriptionStack based ring buffer (no_std)
homepagehttps://codeberg.org/raffaeleragni/ringobuf
repositoryhttps://codeberg.org/raffaeleragni/ringobuf
max_upload_size
id1908936
size18,876
Raffaele Ragni (raffaeleragni)

documentation

https://docs.rs/ringobuf

README

ringobuf

crates.io docs.rs Please don't upload to GitHub

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)].

Commit count: 0

cargo fmt