bare_metal_deque 0.1.0

BareMetalDeque is a deque implementation intended for no_std use
Documentation
  • Coverage
  • 7.69%
    1 out of 13 items documented1 out of 13 items with examples
  • Size
  • Source code size: 22.36 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.11 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • gjf2a/bare_metal_deque
    0 0 3
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • gjf2a

bare_metal_deque

Deque for use with no-std Rust

The BareMetalDeque represents a fixed-size double-ended queue analogous to VecDeque. It is implemented internally as a ring buffer.

There are numerous other implementations of this concept available. None quite met my own needs. Here is the combination of features that distinguishes this particular implementation:

Key features:

  • Runs in no-std Rust projects.
  • No other dependencies.
  • No unsafe code.
  • Can be indexed (mutably and otherwise).
  • Can be iterated.
  • Implements the Copy and Clone traits.
  • Expects its object type to implement the Default, Copy, and Clone traits.