major dependency cleanup

- depend on specific librespot crates to remove clutter
- update versions

this should also help building on openbsd, as the unused librespot-connect
depended on the nix crate, which does not build on openbsd.
This commit is contained in:
Henrik Friedrichsen
2019-11-24 16:38:15 +01:00
parent 177c4893e0
commit e697b97d8c
5 changed files with 255 additions and 400 deletions

View File

@@ -14,44 +14,43 @@ travis-ci = { repository = "hrkfdn/ncspot", branch = "master" }
maintenance = { status = "actively-developed" }
[dependencies]
clap = "2.32.0"
clap = "2.33.0"
chrono = "0.4"
reqwest = "0.9"
crossbeam-channel = "0.3.8"
directories = "1.0"
failure = "0.1.3"
crossbeam-channel = "0.4"
directories = "2.0"
failure = "0.1"
fern = "0.5"
futures = "0.1"
lazy_static = "1.3.0"
librespot-core = "0.1.0"
librespot-playback = "0.1.0"
librespot-protocol = "0.1.0"
log = "0.4.0"
rspotify = "0.7"
serde = "1.0"
serde_json = "1.0"
toml = "0.4"
tokio = "0.1.7"
toml = "0.5"
tokio = "0.1"
tokio-core = "0.1"
tokio-timer = "0.2"
unicode-width = "0.1.5"
dbus = { version = "0.6.4", optional = true }
rand = "0.6.5"
rand = "0.7"
webbrowser = "0.5"
clipboard = { version = "0.5", optional = true }
url = "1.7"
[dependencies.librespot]
version = "0.1.0"
default-features = false
[dependencies.cursive]
version = "0.13"
default-features = false
[features]
share_clipboard = ["clipboard"]
alsa_backend = ["librespot/alsa-backend"]
pulseaudio_backend = ["librespot/pulseaudio-backend"]
rodio_backend = ["librespot/rodio-backend"]
portaudio_backend = ["librespot/portaudio-backend"]
alsa_backend = ["librespot-playback/alsa-backend"]
pulseaudio_backend = ["librespot-playback/pulseaudio-backend"]
rodio_backend = ["librespot-playback/rodio-backend"]
portaudio_backend = ["librespot-playback/portaudio-backend"]
termion_backend = ["cursive/termion-backend"]
mpris = ["dbus"]
default = ["share_clipboard", "pulseaudio_backend", "mpris", "cursive/pancurses-backend"]