Fix release build name and win32 feature (#691)

* Fix typos in release artifacts

Fixes #690

* Fix `win32` feature flag for `pancurses`

Previously, the `win32` feature was enabled for pancurses 0.17.x, which was additionally pulled in
as an extra dependency even though it wasn't used.

With this change, cargo should enable the `win32` feature in the `pancurses` instance used by `cursive`.

Fixes #690
This commit is contained in:
Henrik Friedrichsen
2022-01-02 20:09:09 +01:00
committed by GitHub
parent 94328e4ca3
commit e178837b28
3 changed files with 9 additions and 22 deletions

View File

@@ -45,7 +45,7 @@ strum_macros = "0.23.1"
regex = "1"
ioctl-rs = { version = "0.2", optional = true }
serde_cbor = "0.11.2"
pancurses = { version = "0.17.0", features = ["win32"], optional = true }
pancurses = { version = "0.16.0", optional = true }
libc = "0.2.111"
parse_duration = "2.1.1"
@@ -67,7 +67,7 @@ pulseaudio_backend = ["librespot-playback/pulseaudio-backend"]
rodio_backend = ["librespot-playback/rodio-backend"]
portaudio_backend = ["librespot-playback/portaudio-backend"]
termion_backend = ["cursive/termion-backend"]
pancurses_backend = ["cursive/pancurses-backend"]
pancurses_backend = ["cursive/pancurses-backend", "pancurses/win32"]
mpris = ["dbus", "dbus-tree"]
notify = ["notify-rust"]
cover = ["ioctl-rs"]