ringobuf 0.1.0

Stack based ring buffer (no_std)
Documentation
  • Coverage
  • 28.57%
    2 out of 7 items documented1 out of 6 items with examples
  • Size
  • Source code size: 18.37 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 805.9 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • raffaeleragni

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