Cargo Features

[dependencies]
audio-channel-buffer = { version = "0.2.1", default-features = false, features = ["std", "alloc", "variable-channels", "instance-buffer"] }
default = alloc, std

These default features are set whenever audio-channel-buffer is added without default-features = false somewhere in the dependency tree.

std default

Enable use of the standard library

Enables std of optional arrayvec

alloc default instance-buffer?

Enable the buffer types which require an allocator

variable-channels

Enable the buffer types that can have a variable number of channels set at runtime

Enables arrayvec

instance-buffer = alloc

Enable the buffer type that can store multiple instances of channel buffers.