Cargo Features

[dependencies]
ringbuffer = { version = "0.15.0", default-features = false, features = ["alloc"] }
default = alloc

The alloc feature is set by default whenever ringbuffer is added without default-features = false somewhere in the dependency tree.

alloc default

disable the alloc based ringbuffer, to make RingBuffers work in no_alloc environments

Affects ringbuffer_trait::RingBuffer.to_vec