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 default-features = false somewhere in the dependency tree.

std default bench? = alloc

Enables std of futures and ringbuf

Affects consumer::AsyncConsumer.poll_read, producer::AsyncProducer.poll_write

alloc default std

Enables alloc of ringbuf

Affects alias::AsyncHeapRb, alias::AsyncHeapProd, alias::AsyncHeapCons, consumer::AsyncConsumer.pop_until_end, consumer::PopVecFuture

bench = std