Cargo Features
[dependencies]
ringbuffer = { version = "0.15.0", default-features = false, features = ["alloc"] }
- default = alloc
-
The
alloc
feature is set by default wheneverringbuffer
is added without
somewhere in the dependency tree.default-features = false - alloc default
-
disable the alloc based ringbuffer, to make RingBuffers work in no_alloc environments
Affects
ringbuffer_trait::RingBuffer.to_vec
…