Cargo Features

[dependencies]
librespot = { version = "0.6.0", default-features = false, features = ["alsa-backend", "portaudio-backend", "pulseaudio-backend", "jackaudio-backend", "rodio-backend", "rodiojack-backend", "sdl-backend", "gstreamer-backend", "with-avahi", "with-dns-sd", "with-libmdns", "passthrough-decoder"] }
default = rodio-backend, with-libmdns

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

alsa-backend

Enables alsa-backend of librespot-playback

portaudio-backend

Enables portaudio-backend of librespot-playback

pulseaudio-backend

Enables pulseaudio-backend of librespot-playback

jackaudio-backend

Enables jackaudio-backend of librespot-playback

rodio-backend default

Enables rodio-backend of librespot-playback

rodiojack-backend

Enables rodiojack-backend of librespot-playback

sdl-backend

Enables sdl-backend of librespot-playback

gstreamer-backend

Enables gstreamer-backend of librespot-playback

with-avahi

Enables with-avahi of librespot-discovery

with-dns-sd

Enables with-dns-sd of librespot-discovery

with-libmdns default

Enables with-libmdns of librespot-discovery

passthrough-decoder

Enables passthrough-decoder of librespot-playback

Librespot has 13 features without comments.