Cargo Features
[dependencies]
async-ringbuf = { version = "0.3.1", default-features = false, features = ["std", "alloc", "bench"] }
- default = alloc, std
-
These default features are set whenever
async-ringbuf
is added without
somewhere in the dependency tree.default-features = false - std default bench? = alloc
-
Enables std of futures and ringbuf
Affects
consumer::AsyncConsumer.poll_read
,producer::AsyncProducer.poll_write
… - alloc default std
-
Affects
alias::AsyncHeapRb
,alias::AsyncHeapProd
,alias::AsyncHeapCons
,consumer::AsyncConsumer.pop_until_end
,consumer::PopVecFuture
… - bench = std