Cargo Features

rustzx = { version = "0.16.0", default-features = false, features = ["sound-cpal"] }
default = sound-cpal

The sound-cpal feature is set by default whenever rustzx is added without default-features = false somewhere in the dependency tree.

sound-cpal default = cpal, ringbuf

cpal requires ALSA development headers on Linux, if this feature is disabled, RustZX will be built only with SDL audio backend support

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

cpal sound-cpal
ringbuf sound-cpal

Enables ringbuf ^0.3