-
Notifications
You must be signed in to change notification settings - Fork 452
/
Cargo.toml
74 lines (66 loc) · 2.34 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
[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.5"
rust-version = "1.67"
[dependencies]
alsa = { version = "0.7", optional = true }
chrono = "0.4"
dbus = { version = "0.9", optional = true }
dbus-tokio = { version = "0.7.3", optional = true }
dbus-crossroads = { version = "0.5.0", optional = true }
fern = { version = "0.6.0", features = ["syslog-6"] }
futures = "0.3.15"
gethostname = "0.4.0"
hex = "0.4"
keyring = { version = "2.0", optional = true }
libc = "0.2.82"
log = "0.4.6"
rspotify = { version = "0.12.0", features = ["client-ureq", "ureq-rustls-tls"], default-features = false, optional = true }
serde = { version = "1.0.115", features = ["derive"] }
sha-1 = "0.10"
structopt = "0.3.17"
tokio = {version = "1.26.0", features = ["signal", "rt-multi-thread", "process", "io-std"] }
tokio-stream = "0.1.7"
url = "2.2.2"
librespot-audio = { version = "0.4", default-features = false }
librespot-playback = { version = "0.4", default-features = false }
librespot-core = { version = "0.4" }
librespot-discovery = { version = "0.4" }
librespot-connect = { version = "0.4" }
toml = "0.7"
color-eyre = "0.6"
directories = "5.0.1"
[target."cfg(unix)".dependencies]
daemonize = "0.5"
syslog = "6"
[target."cfg(target_os = \"macos\")".dependencies]
whoami = "1"
[target."cfg(target_os = \"openbsd\")".dependencies]
pledge = "0.4.2"
[dev-dependencies]
env_logger = "0.10"
[features]
alsa_backend = ["librespot-playback/alsa-backend", "alsa"]
dbus_keyring = ["keyring"]
dbus_mpris = ["dbus", "dbus-tokio", "dbus-crossroads", "rspotify"]
pipe_backend = []
default = ["alsa_backend", "pipe_backend"]
portaudio_backend = ["librespot-playback/portaudio-backend"]
pulseaudio_backend = ["librespot-playback/pulseaudio-backend"]
rodio_backend = ["librespot-playback/rodio-backend"]
rodiojack_backend = ["librespot-playback/rodiojack-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"],
]
[profile.release]
lto = true