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 wheneverspotifyd
is added without
somewhere in the dependency tree.default-features = false - alsa_backend default = alsa
-
Enables alsa-backend of librespot-playback
- dbus_keyring = keyring
- dbus_mpris = dbus, dbus-crossroads, dbus-tokio, rspotify
- portaudio_backend
-
Enables portaudio-backend of librespot-playback
- pulseaudio_backend
-
Enables pulseaudio-backend of librespot-playback
- rodio_backend
-
Enables rodio-backend of librespot-playback
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.