Cargo Features

[dependencies]
vhost-device-sound = { version = "0.2.0", default-features = false, features = ["xen", "alsa-backend", "pw-backend"] }
default = alsa-backend, pw-backend

These default features are set whenever vhost-device-sound is added without default-features = false somewhere in the dependency tree.

xen

Enables xen of vhost ^0.11, vhost-user-backend ^0.15, and vm-memory ^0.14.1

alsa-backend default

Enables alsa

pw-backend default = pw

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.

pw gnu pw-backend

Enables pipewire