Cargo Features

[dependencies]
spotify_player = { version = "0.18.1", default-features = false, features = ["alsa-backend", "pulseaudio-backend", "rodio-backend", "portaudio-backend", "jackaudio-backend", "rodiojack-backend", "sdl-backend", "gstreamer-backend", "streaming", "lyric-finder", "media-control", "image", "sixel", "notify", "daemon"] }
default = media-control, rodio-backend

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

alsa-backend = streaming

Enables alsa-backend of librespot-playback

pulseaudio-backend = streaming

Enables pulseaudio-backend of librespot-playback

rodio-backend default = streaming

Enables rodio-backend of librespot-playback

portaudio-backend = streaming

Enables portaudio-backend of librespot-playback

jackaudio-backend = streaming

Enables jackaudio-backend of librespot-playback

rodiojack-backend = streaming

Enables rodiojack-backend of librespot-playback

sdl-backend = streaming

Enables sdl-backend of librespot-playback

gstreamer-backend = streaming

Enables gstreamer-backend of librespot-playback

streaming alsa-backend? daemon? gstreamer-backend? jackaudio-backend? portaudio-backend? pulseaudio-backend? rodio-backend rodiojack-backend? sdl-backend? = librespot-connect, librespot-playback

Affects config::AppConfig.enable_streaming, config::AppConfig.notify_streaming_only

lyric-finder = lyric_finder

Affects data::MemoryCaches.lyrics, page::render_lyric_page

media-control default = souvlaki, windows, winit

Affects config::AppConfig.enable_media_control

image sixel? = viuer

Enables image ^0.24.9

Affects config::AppConfig.cover_img_length, config::AppConfig.cover_img_width, config::AppConfig.cover_img_scale, data::MemoryCaches.images, ui::UIState.last_cover_image_render_info

sixel = image

Enables sixel of viuer

notify = notify-rust

Affects config::AppConfig.notify_format, config::AppConfig.notify_timeout_in_secs, config::AppConfig.enable_notify, config::NotifyFormat, config::AppConfig.notify_streaming_only

daemon = daemonize, streaming

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.

librespot-connect streaming?
librespot-playback alsa-backend? gstreamer-backend? jackaudio-backend? portaudio-backend? pulseaudio-backend? rodio-backend rodiojack-backend? sdl-backend? streaming?
lyric_finder lyric-finder?
souvlaki media-control
viuer image? sixel?
notify-rust notify?
daemonize daemon?
windows win media-control

Enables windows ^0.54.0

winit win mac media-control

Enables winit ^0.29.15