| Crates.io | ringobuf |
| lib.rs | ringobuf |
| version | 0.1.0 |
| created_at | 2025-10-30 20:32:45.804335+00 |
| updated_at | 2025-10-30 20:32:45.804335+00 |
| description | Stack based ring buffer (no_std) |
| homepage | https://codeberg.org/raffaeleragni/ringobuf |
| repository | https://codeberg.org/raffaeleragni/ringobuf |
| max_upload_size | |
| id | 1908936 |
| size | 18,876 |
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)].