-
Notifications
You must be signed in to change notification settings - Fork 171
/
Cargo.toml
104 lines (95 loc) · 3.23 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[package]
name = "spotify_player"
version = "0.20.4"
authors = ["Thang Pham <[email protected]>"]
edition = "2021"
license = "MIT"
description = "A Spotify player in the terminal with full feature parity"
repository = "https://github.com/aome510/spotify-player"
keywords = ["spotify", "tui", "player"]
readme = "../README.md"
[dependencies]
anyhow = "1.0.93"
clap = { version = "4.5.21", features = ["derive", "string"] }
config_parser2 = "0.1.5"
crossterm = "0.28.1"
dirs-next = "2.0.0"
librespot-connect = { version = "0.6.0", optional = true }
librespot-core = "0.6.0"
librespot-oauth = "0.6.0"
librespot-playback = { version = "0.6.0", optional = true }
librespot-metadata = "0.6.0"
log = "0.4.22"
chrono = "0.4.38"
reqwest = { version = "0.12.9", features = ["json"] }
rspotify = "0.13.3"
serde = { version = "1.0.215", features = ["derive"] }
tokio = { version = "1.41.1", features = [
"rt",
"rt-multi-thread",
"macros",
"time",
] }
toml = "0.8.19"
tui = { package = "ratatui", version = "0.29.0" }
rand = "0.8.5"
maybe-async = "0.2.10"
async-trait = "0.1.83"
parking_lot = "0.12.3"
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
backtrace = "0.3.74"
souvlaki = { version = "0.7.3", optional = true }
viuer = { version = "0.9.1", optional = true }
image = { version = "0.25.5", optional = true }
notify-rust = { version = "4.11.3", optional = true, default-features = false, features = [
"d",
] }
flume = "0.11.1"
serde_json = "1.0.133"
once_cell = "1.20.2"
regex = "1.11.1"
daemonize = { version = "0.5.0", optional = true }
ttl_cache = "0.5.1"
clap_complete = "4.5.38"
which = "7.0.0"
fuzzy-matcher = { version = "0.3.7", optional = true }
html-escape = "0.2.13"
rustls = { version = "0.23.19", default-features = false, features = ["ring"] }
[target.'cfg(any(target_os = "windows", target_os = "macos"))'.dependencies.winit]
version = "0.30.5"
optional = true
[target.'cfg(target_os = "windows")'.dependencies]
clipboard-win = "5.4.0"
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.58.0"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_System_LibraryLoader",
"Win32_UI_WindowsAndMessaging",
]
optional = true
[features]
alsa-backend = ["streaming", "librespot-playback/alsa-backend"]
pulseaudio-backend = ["streaming", "librespot-playback/pulseaudio-backend"]
rodio-backend = ["streaming", "librespot-playback/rodio-backend"]
portaudio-backend = ["streaming", "librespot-playback/portaudio-backend"]
jackaudio-backend = ["streaming", "librespot-playback/jackaudio-backend"]
rodiojack-backend = ["streaming", "librespot-playback/rodiojack-backend"]
sdl-backend = ["streaming", "librespot-playback/sdl-backend"]
gstreamer-backend = ["streaming", "librespot-playback/gstreamer-backend"]
streaming = ["librespot-playback", "librespot-connect"]
media-control = ["souvlaki", "winit", "windows"]
image = ["viuer", "dep:image"]
sixel = ["image", "viuer/sixel"]
notify = ["notify-rust"]
daemon = ["daemonize", "streaming"]
fzf = ["fuzzy-matcher"]
default = ["rodio-backend", "media-control"]
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }_{ target }{ archive-suffix }"
[lints]
workspace = true
[package.metadata.cargo-machete]
ignored = ["async-trait"]