forked from hrkfdn/ncspot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
87 lines (81 loc) · 2.77 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[package]
name = "ncspot"
description = "ncurses Spotify client written in Rust using librespot, inspired by ncmpc and the likes."
exclude = ["screenshots/**"]
version = "0.8.1"
authors = ["Henrik Friedrichsen <[email protected]>"]
repository = "https://github.com/hrkfdn/ncspot"
keywords = ["spotify", "ncurses", "librespot", "terminal"]
license = "BSD-2-Clause"
readme = "README.md"
edition = "2018"
[badges]
maintenance = { status = "actively-developed" }
[dependencies]
clap = "2.33.0"
chrono = "0.4"
reqwest = { version = "0.11", features = ["blocking", "json", "cookies"] }
crossbeam-channel = "0.5"
platform-dirs = "0.3.0"
failure = "0.1"
fern = "0.6"
futures = { version = "0.3", features = ["compat"] }
futures_01 = { version = "0.1", package = "futures" }
lazy_static = "1.3.0"
librespot-core = { version = "0.2.0", features = ["apresolve"] }
librespot-playback = "0.2.0"
librespot-protocol = "0.2.0"
log = "0.4.13"
libnotify = { version = "1.0.3", optional = true }
rayon = "1.5"
rspotify = { version = "0.10.0", features = ["blocking"] }
serde = "1.0"
serde_json = "1.0"
tokio = { version = "1", features = ["rt-multi-thread", "sync", "time"] }
tokio-stream = "0.1.7"
toml = "0.5"
unicode-width = "0.1.8"
dbus = { version = "0.9.3", optional = true }
dbus-tree = { version = "0.9.0", optional = true }
rand = "0.8"
webbrowser = "0.5"
clipboard = { version = "0.5", optional = true }
url = "2.2"
strum = "0.21.0"
strum_macros = "0.21.1"
tempdir = { version = "0.3.7", optional = true }
gdk-pixbuf = { version = "0.3.0", optional = true }
regex = "1"
ioctl-rs = { version = "0.2", optional = true }
serde_cbor = "0.11.1"
signal-hook = "0.3.9"
pancurses = { version = "0.16.1", features = ["win32"] }
[patch.crates-io]
rspotify = { path = "./rspotify" }
[dependencies.cursive]
version = "0.16.3"
default-features = false
[features]
share_clipboard = ["clipboard"]
share_selection = ["clipboard"] # Use the primary selection for sharing - linux only
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", "dbus-tree"]
notify = ["libnotify", "tempdir", "gdk-pixbuf"]
cover = ["ioctl-rs"]
default = ["share_clipboard", "pulseaudio_backend", "mpris", "notify", "cover", "cursive/pancurses-backend"]
[package.metadata.deb]
depends = "$auto, pulseaudio"
section = "sound"
priority = "optional"
extended-description = """\
ncurses Spotify client written in Rust using librespot. \
It is heavily inspired by ncurses MPD clients, such as ncmpc."""
license-file = ["LICENSE"]
assets = [
["target/release/ncspot", "usr/bin/", "755"],
["README.md", "usr/share/doc/ncspot/README.md", "644"],
]