Add ncurses_backend feature flag to enable cursive/ncurses-backend

Similar to existing crossterm_backend and pancurses_backend.
This commit is contained in:
Jakub Jirutka
2023-04-23 21:55:42 +02:00
committed by Henrik Friedrichsen
parent 30903ef78e
commit cb9d9e7a93
2 changed files with 2 additions and 0 deletions

1
Cargo.lock generated
View File

@@ -722,6 +722,7 @@ dependencies = [
"libc",
"log",
"maplit",
"ncurses",
"pancurses",
"signal-hook",
"term_size",

View File

@@ -80,6 +80,7 @@ alsa_backend = ["librespot-playback/alsa-backend"]
cover = ["ioctl-rs"] # Support displaying the album cover
default = ["share_clipboard", "pulseaudio_backend", "mpris", "notify", "termion_backend"]
mpris = ["zbus"] # Allow ncspot to be controlled via MPRIS API
ncurses_backend = ["cursive/ncurses-backend"]
notify = ["notify-rust"] # Show what's playing via a notification
pancurses_backend = ["cursive/pancurses-backend", "pancurses/win32"]
portaudio_backend = ["librespot-playback/portaudio-backend"]