Cargo Features

[dependencies]
vhost-device-sound = { version = "0.1.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.10, vhost-user-backend ^0.13, and vm-memory

alsa-backend default

Enables alsa ^0.8

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