forked from Spotifyd/spotifyd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
64 lines (59 loc) · 1.69 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
[package]
authors = ["Simon Persson <[email protected]>", "Sven Lechner <[email protected]>"]
edition = "2018"
name = "spotifyd"
description = "A Spotify daemon"
repository = "https://github.com/Spotifyd/spotifyd"
license = "GPL-3.0-only"
version = "0.3.2"
[dependencies]
alsa = { version = "0.3", optional = true }
chrono = "0.4"
daemonize = "0.4"
dbus = { version = "0.6", optional = true }
dbus-tokio = { version = "0.2", optional = true }
fern = { version = "0.6.0", features = ["syslog-4"] }
futures = "0.1"
gethostname = "0.2.0"
hex = "0.4"
keyring = { version = "0.10.1", optional = true }
libc = "0.2.82"
log = "0.4.6"
percent-encoding = "2.1.0"
rspotify = "0.8.0"
serde = { version = "1.0.115", features = ["derive"] }
sha-1 = "0.9"
structopt = "0.3.17"
syslog = "4"
tokio-core = "0.1"
tokio-io = "0.1"
tokio-signal = "0.1"
url = "1.7"
xdg = "2.2"
librespot = { version = "0.1.5", default-features = false, features = ["with-tremor"] }
toml = "0.5.8"
color-eyre = "0.5"
[target."cfg(target_os = \"macos\")".dependencies]
whoami = "0.9.0"
[dev-dependencies]
env_logger = "0.7"
[features]
alsa_backend = ["librespot/alsa-backend", "alsa"]
dbus_keyring = ["keyring"]
dbus_mpris = ["dbus", "dbus-tokio"]
default = ["alsa_backend"]
portaudio_backend = ["librespot/portaudio-backend"]
pulseaudio_backend = ["librespot/pulseaudio-backend"]
rodio_backend = ["librespot/rodio-backend"]
[package.metadata.deb]
depends = "$auto, systemd, pulseaudio"
features = [
"pulseaudio_backend",
"dbus_keyring",
"dbus_mpris",
]
assets = [
["target/release/spotifyd", "usr/bin/", "755"],
["README.md", "usr/share/doc/spotifyd/README", "644"],
["contrib/spotifyd.service", "etc/systemd/user/", "644"],
]