Cargo Features
[dependencies]
ncspot = { version = "1.2.1", default-features = false, features = ["alsa_backend", "cover", "mpris", "ncurses_backend", "notify", "crossterm_backend", "pancurses_backend", "portaudio_backend", "pulseaudio_backend", "rodio_backend", "share_clipboard", "share_selection", "termion_backend"] }
- alsa_backend
-
Enables alsa-backend of librespot-playback
- cover = ioctl-rs
-
Support displaying the album cover
Affects
ui::cover
… - default = crossterm_backend, mpris, notify, pulseaudio_backend, share_clipboard
-
These default features are set whenever
ncspot
is added without
somewhere in the dependency tree.default-features = false - mpris default = zbus
-
Allow ncspot to be controlled via MPRIS API
- ncurses_backend
-
Enables ncurses-backend of cursive
cursive:
Enable the ncurses backend.
- notify default = notify-rust
-
Show what's playing via a notification
Affects
queue::send_notification
… - crossterm_backend default
-
Enables crossterm-backend of cursive
cursive:
Enable the crossterm backend.
- pancurses_backend
-
Enables win32 of pancurses and pancurses-backend of cursive
cursive:
Enable the pancurses backend.
- portaudio_backend
-
Enables portaudio-backend of librespot-playback
- pulseaudio_backend default
-
Enables pulseaudio-backend of librespot-playback
- rodio_backend
-
Enables rodio-backend of librespot-playback
-
Share a link to the system clipboard
Enables wayland-data-control of arboard
-
Use the primary selection for sharing - linux and bsd only
Enables wayland-data-control of arboard
- termion_backend
-
Enables termion-backend of cursive
cursive:
Enable the termion backend.
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.