Cargo Features

[dependencies]
spotifyd = { version = "0.3.5", default-features = false, features = ["alsa_backend", "dbus_keyring", "dbus_mpris", "portaudio_backend", "pulseaudio_backend", "rodio_backend"] }
default = alsa_backend

The alsa_backend feature is set by default whenever spotifyd is added without default-features = false somewhere in the dependency tree.

alsa_backend default = alsa

Enables alsa-backend of librespot-playback ^0.4

dbus_keyring = keyring
dbus_mpris = dbus, dbus-crossroads, dbus-tokio, rspotify
portaudio_backend

Enables portaudio-backend of librespot-playback ^0.4

pulseaudio_backend

Enables pulseaudio-backend of librespot-playback ^0.4

rodio_backend

Enables rodio-backend of librespot-playback ^0.4

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.

alsa alsa_backend

Enables alsa ^0.7

dbus dbus_mpris?
dbus-tokio dbus_mpris?
dbus-crossroads dbus_mpris?
keyring dbus_keyring?

Enables keyring ^2.0

rspotify dbus_mpris?

Enables rspotify ^0.11.6