Files
ncspot/Cargo.toml
Henrik Friedrichsen f7458b4137 make sharing to clipboard a feature that can be disabled
this is for users that want to eliminate dependences (e.g. libxcb).
the feature is enabled by default and must be explicitly disabled.

fixes #84
2019-08-13 11:49:27 +02:00

57 lines
1.5 KiB
TOML

[package]
name = "ncspot"
description = "ncurses Spotify client written in Rust using librespot, inspired by ncmpc and the likes."
exclude = ["screenshots/**"]
version = "0.1.0"
authors = ["Henrik Friedrichsen <henrik@affekt.org>"]
repository = "https://github.com/hrkfdn/ncspot"
keywords = ["spotify", "ncurses", "librespot"]
license = "BSD-2-Clause"
readme = "README.md"
[badges]
travis-ci = { repository = "hrkfdn/ncspot", branch = "master" }
maintenance = { status = "experimental" }
[dependencies]
clap = "2.32.0"
chrono = "0.4"
reqwest = "0.9"
crossbeam-channel = "0.3.8"
directories = "1.0"
failure = "0.1.3"
fern = "0.5"
futures = "0.1"
lazy_static = "1.3.0"
log = "0.4.0"
rspotify = "0.5"
serde = "1.0"
serde_json = "1.0"
toml = "0.4"
tokio = "0.1.7"
tokio-core = "0.1"
tokio-timer = "0.2"
unicode-width = "0.1.5"
dbus = { version = "0.6.4", optional = true }
rand = "0.6.5"
webbrowser = "0.5"
clipboard = { version = "0.5", optional = true }
[dependencies.librespot]
git = "https://github.com/librespot-org/librespot.git"
default-features = false
[dependencies.cursive]
version = "0.12"
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"]
termion_backend = ["cursive/termion-backend"]
mpris = ["dbus"]
default = ["share_clipboard", "rodio_backend", "mpris", "cursive/pancurses-backend"]