Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
398 lines (383 loc) · 24.2 KB
/
Copy pathCargo.toml
File metadata and controls
398 lines (383 loc) · 24.2 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
[package]
name = "spotifast"
default-run = "spotifast"
version = "0.17.2"
edition = "2024"
rust-version = "1.98"
license = "MIT"
description = "A native Spotify client"
repository = "https://github.com/crmne/spotifast"
keywords = ["spotify", "music", "egui", "librespot", "player"]
categories = ["multimedia::audio"]
[lib]
name = "spotifast"
path = "src/lib.rs"
[[bin]]
name = "spotifast"
path = "src/spotifast.rs"
[dependencies]
anyhow = "1"
thiserror = "2"
clap = { version = "4.5", features = ["derive"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
log = "0.4"
# One protected-store API, with only each target's native provider below.
# Durable Spotify grants must not be copied into ordinary state JSON.
keyring-core = "1"
# The whole UI. glow keeps the binary and the dependency tree small; wgpu is
# not needed for a 2D music client.
# AccessKit connects egui's control names, states, and actions to native screen readers.
eframe = { version = "0.36.2", default-features = false, features = ["accesskit", "glow", "default_fonts", "links", "wayland", "x11", "persistence"] }
egui = "0.36.2"
egui_extras = { version = "0.36.2", features = ["image", "svg"] }
# The shared foundation of Spotifast, ZapFast, RekordFlash and TonePush
# (crmne/fastframe). Every crate comes from the same revision; move them
# together. Dock icons and badges share the same foundation as the tray.
fastframe-text = { git = "https://github.com/crmne/fastframe", tag = "v0.16.1" }
fastframe-fonts = { git = "https://github.com/crmne/fastframe", tag = "v0.16.1" }
fastframe-icons = { git = "https://github.com/crmne/fastframe", tag = "v0.16.1" }
fastframe-theme = { git = "https://github.com/crmne/fastframe", tag = "v0.16.1" }
# Colour emoji in the platform's own style (Apple Color Emoji, Segoe UI
# Emoji, the desktop's colour emoji font), in every text through its egui
# plugin.
fastframe-emoji = { git = "https://github.com/crmne/fastframe", tag = "v0.16.1" }
# Catalogs compiled from PO files at build time (see build.rs) and the
# system's preferred languages. No libintl or runtime catalog parsing.
fastframe-i18n = { git = "https://github.com/crmne/fastframe", tag = "v0.16.1" }
# The log file for bug reports and the panic log (env_logger underneath).
fastframe-log = { git = "https://github.com/crmne/fastframe", tag = "v0.16.1" }
# The tray item, so closing the window can keep the music playing:
# StatusNotifier on Linux, the notification area on Windows, the menu bar
# on macOS.
fastframe-tray = { git = "https://github.com/crmne/fastframe", tag = "v0.16.1" }
# Keeps the app running without a window around eframe::run_native.
fastframe-shell = { git = "https://github.com/crmne/fastframe", tag = "v0.16.1" }
# Opens the window, and says in a native dialog why when the computer has no
# OpenGL 2. Without its wgpu feature: MilkDrop draws in the window with glow.
fastframe-graphics = { git = "https://github.com/crmne/fastframe", tag = "v0.16.1" }
# The title bar the app draws itself: the header drag and double-click on
# every platform, and on Windows and Linux the caption buttons and resizable
# edges when the listener turns the platform's frame off.
fastframe-titlebar = { git = "https://github.com/crmne/fastframe", tag = "v0.16.1" }
# Self-update from GitHub releases, on the reqwest client below.
fastframe-update = { git = "https://github.com/crmne/fastframe", tag = "v0.16.1", features = ["reqwest"] }
# Settings, the session, the history, caches and the credential markers
# are replaced whole: a temporary file beside each, synced to the disk, then
# moved over it (written through on Windows), so a crash never leaves half.
fastframe-file = { git = "https://github.com/crmne/fastframe", tag = "v0.16.1" }
# The device's power, session and network state: energy saver, battery,
# display, lock, the internet's reach and cost, sleep and wake, and the App
# Nap activity local playback holds on macOS.
fastframe-power = { git = "https://github.com/crmne/fastframe", tag = "v0.16.1" }
# The audio device stream, and the only audio output on every platform: it
# pauses, so a paused player costs no CPU (#636), follows the default output
# and reopens after a failure. On Linux it plays through cpal's default host:
# PipeWire, then PulseAudio, then ALSA. librespot's own backends (rodio,
# PulseAudio) are left out.
fastframe-audio = { git = "https://github.com/crmne/fastframe", tag = "v0.16.1" }
# The wheel step, the Linux touchpad scale and glide, and the axis a scroll
# gesture holds.
fastframe-scroll = { git = "https://github.com/crmne/fastframe", tag = "v0.16.1" }
# Starting at login, with the window or in the tray (#122).
fastframe-autostart = { git = "https://github.com/crmne/fastframe", tag = "v0.16.1" }
# One running copy per user: a lock and a private channel that a second
# launch and the command line hand their requests to.
fastframe-instance = { git = "https://github.com/crmne/fastframe", tag = "v0.16.1" }
# The config, state and cache folders: the per-user ones, or for a copy from
# the portable Windows zip, spotifast-data next to the executable (#703).
fastframe-dirs = { git = "https://github.com/crmne/fastframe", tag = "v0.16.1" }
# The Downloads folder an update notice names (fastframe-dirs already builds
# it). Tests also pin that installed copies keep the folders they had before
# fastframe-dirs.
directories = "6"
# The desktop's media controls: MPRIS on Linux, the media overlay on
# Windows, Now Playing on macOS. The media keys and those panels send
# commands back, and closing the window keeps the music playing.
fastframe-now-playing = { git = "https://github.com/crmne/fastframe", tag = "v0.16.1" }
# Reading installed fonts for MilkDrop's overlays, the Winamp playlist's
# pixel text, and the playlist face. skrifa is the parser epaint already
# rasterizes with, and the version has to track epaint's or the binary
# compiles two copies of it; memmap2 keeps the search for the playlist face
# to the few pages of each font that name it. fastframe-fonts uses both.
skrifa = "0.44"
memmap2 = "0.9"
# Shaping for that pixel text (src/ui/winamp/pixel_text.rs): joining Arabic
# letters and forming their ligatures before the line is rasterized. It is
# the shaper epaint draws with, at the version epaint is built against, so
# the playlist joins letters the way every other view does. Already compiled
# for epaint and fastframe-emoji, so it adds no code to the build.
harfrust = "0.12"
# bmp is for Winamp skins, whose bitmaps are BMP files; gif is for Windows
# Media Player skins, which are often drawn as GIFs. webp is for cover
# URLs: Spotify's CDN sometimes serves the same cover as WebP, and without
# this every size of it fails to decode and the placeholder is drawn.
image = { version = "0.25", default-features = false, features = ["jpeg", "png", "bmp", "webp", "gif"] }
# Inflating the zip a Winamp skin comes as (src/skin/zip.rs). Already
# compiled for reqwest's gzip support, so this adds no code to the build.
flate2 = "1"
# Filling glyph outlines with no anti-aliasing for the Winamp playlist's
# text (src/ui/winamp/pixel_text.rs). Already compiled for the SVG icons
# through egui_extras and resvg, so this adds no code to the build.
tiny-skia = "0.11"
# MilkDrop, as libprojectM reimplements it, for the MilkDrop window
# (src/milkdrop.rs). Built into the binary, so it stays one file.
projectm-sys = { version = "1.2.2", default-features = false, features = ["static"], optional = true }
# The MilkDrop window runs as a child process with its own winit event loop
# and OpenGL context (src/milkdrop/child.rs), because winit allows one event
# loop per process and eframe owns the app's. These are the same versions
# eframe already pulls in, so they add no build. Only compiled with the
# milkdrop feature.
winit = { version = "0.30", optional = true }
glutin = { version = "0.32", optional = true }
glutin-winit = { version = "0.5", optional = true }
# Detect the live window backend, including when MilkDrop is disabled.
# eframe already compiles this crate.
raw-window-handle = "0.6"
# Spotify playback and Connect. rustls everywhere so the client links one TLS
# stack and builds without OpenSSL on every platform.
#
# librespot-core depends on hyper-proxy2 for HTTP proxy support. The
# published 0.1.0 release pins rustls 0.22 / rustls-webpki 0.102; we patch
# it (see [patch.crates-io]) onto rustls 0.23 so CONNECT-then-TLS uses the
# same stack as the rest of the client. SOCKS5 still covers the Web API but
# not the engine: librespot only speaks HTTP CONNECT.
librespot-core = { version = "0.8", default-features = false, features = ["rustls-tls-native-roots"] }
librespot-playback = { version = "0.8", default-features = false, features = ["rustls-tls-native-roots"] }
librespot-connect = { version = "0.8", default-features = false }
librespot-metadata = { version = "0.8", default-features = false }
librespot-protocol = { version = "0.8", default-features = false }
# Parses the rootlist's playlist4 protobuf, the same crate librespot generates with.
protobuf = "3"
# Reads a local file's embedded cover and lyrics. The same decoder librespot
# already plays local files with, with the formats it enables, so nothing
# new is built.
symphonia = { version = "0.5", default-features = false, features = ["mp3", "flac"] }
# Local playback's audio sink is this crate's own (src/sink.rs): librespot's
# rodio backend unwraps the device open on the player thread, and a release
# build aborts on panic, so it is left out. rodio supplies the mixer and the
# queue only; fastframe-audio below owns the device stream.
rodio = { version = "0.21", default-features = false }
# `socks` is SOCKS5 proxy support for the Web API, artwork, lyrics, and
# update checks. HTTP proxies work without it. `system-proxy` reads the OS
# proxy on macOS and Windows when the mode is System; Linux uses environment
# variables either way.
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls-native-roots", "json", "gzip", "http2", "blocking", "socks", "system-proxy"] }
# Same System-proxy matcher reqwest uses, so local playback follows the same
# HTTP proxy (environment, and the OS proxy on macOS and Windows).
hyper-util = { version = "0.1", default-features = false, features = ["client-proxy", "client-proxy-system"] }
http = "1"
# `fs` is used by the playlist cache in `backend.rs`. On Linux the MPRIS
# dependency happens to turn it on, which is why leaving it out built
# there and nowhere else. `net` is the local HTTP-proxy tests. `signal`
# turns a polite SIGTERM, SIGINT or SIGHUP into a normal quit
# (src/terminate.rs); `process` already builds its signal-hook-registry.
tokio = { version = "1", features = ["rt-multi-thread", "sync", "time", "macros", "fs", "net", "io-util", "process", "signal"] }
# Soloist's loopback control API. Both already arrive through librespot.
tokio-tungstenite = "0.28"
futures-util = { version = "0.3", features = ["sink"] }
# Extract only the executable and notices from Spotify's official Soloist builds.
tar = { version = "0.4", default-features = false }
zip = { version = "9.1.3", default-features = false, features = ["deflate-flate2"] }
sha1 = "0.10"
sha2 = "0.10"
# Stops a Soloist that an earlier run left holding its data directory
# (`soloist/mod.rs`). Already in the tree through librespot, same features.
sysinfo = { version = "0.36", default-features = false, features = ["system"] }
# Spotify names a Cast device by the MD5 of its friendly name (`cast.rs`).
md-5 = "0.10"
# Cast v2 runs over TLS with a certificate from Google's device CA, which
# needs a custom verifier (`cast.rs`). Already in the tree through reqwest.
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12"] }
# The device then proves it is genuine with a certificate chain to Google's
# Cast roots (`cast.rs`). ring adds the SHA-1 signatures older devices still
# use, which rustls-webpki leaves out. Both are already in the tree through
# rustls.
rustls-webpki = { version = "0.103", default-features = false, features = ["ring", "std"] }
ring = "0.17"
base64 = "0.22"
# Native asynchronous file selection on macOS, Windows and Linux desktop portals.
rfd = "0.17.2"
rand = "0.9"
open = "5"
percent-encoding = "2"
urlencoding = "2"
jiff = "0.2"
mdns-sd = "0.21"
unicode-bidi = "0.3"
hmac = "0.12"
pbkdf2 = "0.12"
aes = "0.8"
ctr = "0.9"
[target.'cfg(unix)'.dependencies]
# Tells a Soloist that has fully exited from one still dying (`soloist/mod.rs`).
# Already in the tree through sysinfo and many others.
libc = "0.2"
[target.'cfg(target_os = "macos")'.dependencies]
# The packaged Dock artwork also identifies unbundled Cargo runs.
fastframe-dock = { git = "https://github.com/crmne/fastframe", tag = "v0.16.1" }
apple-native-keyring-store = { version = "1.0.2", features = ["keychain"] }
# The application menus and Dock menu (src/mac_menu.rs). "exception" lets
# src/mac_touchbar_crash_guard.rs catch a specific AppKit Objective-C
# exception instead of letting it abort the process. NSWorkspace and
# NSAccessibility answer whether the user asked for less motion
# (src/motion.rs).
objc2 = { version = "0.6", features = ["exception"] }
objc2-app-kit = { version = "0.3", default-features = false, features = ["std", "NSAccessibility", "NSApplication", "NSEvent", "NSMenu", "NSMenuItem", "NSResponder", "NSRunningApplication", "NSWindow", "NSView", "NSScreen", "NSColor", "NSImage", "NSImageView", "NSButton", "NSControl", "NSTrackingArea", "NSVisualEffectView", "NSTextField", "NSBezierPath", "NSFont", "NSAnimation", "NSAnimationContext", "NSWorkspace"] }
# NSAppleEventManager and NSAppleEventDescriptor carry the Spotify links
# macOS hands an app registered for the scheme (src/mac_links.rs), and
# NSRunLoop has the delayed perform that minimizes the window
# (src/window.rs).
objc2-foundation = { version = "0.3", default-features = false, features = ["std", "NSAppleEventDescriptor", "NSAppleEventManager", "NSDate", "NSObjCRuntime", "NSRunLoop", "NSString", "NSThread", "NSDictionary", "NSAttributedString", "NSData"] }
[target.'cfg(windows)'.dependencies]
windows-native-keyring-store = { version = "1.1", default-features = false }
# Message loops, the taskbar thumbnail buttons and window styles, and DPAPI
# for the sealed copies of the grants (src/credentials.rs). The job object
# ends the Soloist child with Spotifast however it exits (src/soloist/owned.rs).
windows-sys = { version = "0.60", features = ["Win32_Foundation", "Win32_Globalization", "Win32_Graphics_Gdi", "Win32_Security_Cryptography", "Win32_System_Com", "Win32_System_JobObjects", "Win32_System_LibraryLoader", "Win32_System_Registry", "Win32_System_Threading", "Win32_UI_Accessibility", "Win32_UI_HiDpi", "Win32_UI_Shell", "Win32_UI_WindowsAndMessaging"] }
[target.'cfg(target_os = "linux")'.dependencies]
# Routes only the owned Soloist player through EQ and visualizers. Already
# compiled by cpal; the bridge uses native streams, without external commands.
pipewire = "0.10.1"
# Reuses the zbus/Tokio stack already used for desktop integration.
zbus-secret-service-keyring-store = { version = "1.0.1", features = ["rt-tokio-crypto-rust"] }
# The session bus, for the desktop's light or dark preference
# (src/appearance.rs). fastframe-now-playing's MPRIS already compiles this
# version.
zbus = { version = "5", default-features = false, features = ["tokio"] }
# Keeps the X11 mini player out of the taskbar with _NET_WM_STATE_SKIP_TASKBAR
# (src/window.rs), which winit only offers on Windows. winit already
# compiles this version.
x11rb = { version = "0.13", default-features = false }
[build-dependencies]
# Compile the small macOS and Windows Soloist audio adapters.
cc = { version = "1", optional = true }
# Drops unfinished PO entries and compiles catalog text and gettext plural
# expressions to Rust. Ordinary builds do not need gettext tools.
fastframe-i18n = { git = "https://github.com/crmne/fastframe", tag = "v0.16.1", features = ["build"] }
[dev-dependencies]
# Checks that every catalog covers the template and keeps its placeholders.
polib = "0.3"
# Run connection-deadline regressions with a virtual clock.
tokio = { version = "1", features = ["test-util"] }
# The icon and version information Windows shows for the executable.
[target.'cfg(windows)'.build-dependencies]
winresource = "0.1"
[features]
default = ["milkdrop", "soloist-native-audio"]
# Process-only Soloist audio: Mac EQ and visualizers, Windows visualizers.
soloist-native-audio = ["dep:cc"]
# Keep the existing maintainer preview command working.
soloist-preview = ["soloist-native-audio"]
# Sample data and screenshot flags; never part of a release build.
demo = []
# MilkDrop, through libprojectM: a C++ library that CMake builds into the
# binary at compile time, so building needs cmake, a C++ compiler, and
# libclang. `--no-default-features` leaves it out.
milkdrop = ["dep:projectm-sys", "dep:winit", "dep:glutin", "dep:glutin-winit"]
[profile.release]
lto = "thin"
codegen-units = 1
strip = true
panic = "abort"
# Audio decoding and immediate-mode layout are too slow at opt-level 0 to
# audition the app in development. Keep every dependency optimized while the
# application crate itself stays incremental.
[profile.dev.package."*"]
opt-level = 2
# projectm-sys names the library it links after Rust's profile (a `d` suffix
# for dev) but CMake names what it builds after the optimisation level, so an
# optimised dev build would look for a library that was never made. A debug
# build of libprojectM is fine to develop against; releases are optimised.
[profile.dev.package.projectm-sys]
opt-level = 0
[patch.crates-io]
# crmne/egui apps-0.36.2, shared with ZapFast, RekordFlash and TonePush: egui
# 0.36.2 with right-to-left runs shaped in their bidi direction and digits
# shaped left to right in text without right-to-left letters
# (emilk/egui#8577), egui's busy-loop fix (emilk/egui#8398), and eframe pacing
# Wayland frames by the compositor's frame callbacks so a window the
# compositor stops showing never blocks in a vsync swap (emilk/egui#8631,
# #266), each emoji cluster laid out one emoji wide, and egui's clipboard
# sharing its Wayland data device with winit's file drops (#614), accesskit
# focus on a widget drawn a frame later (emilk/egui#8621), a compatibility
# profile when a core GL context fails (emilk/egui#8655), and the zoom factor
# saved with the window size so a zoomed window keeps its size
# (emilk/egui#8656), right-to-left runs wrapped in reading order with the
# caret, arrows and selection kept right, winit's Ime::DeleteSurrounding
# forwarded to egui, and no Windows drop shadow around transparent
# undecorated windows such as the skins (emilk/egui#8834). Every egui
# crate comes from the same revision so they share one emath and epaint.
# Drop this once egui releases these changes.
ecolor = { git = "https://github.com/crmne/egui", rev = "96c9740d53bb388f4dd7d8303d404a8148836909" }
eframe = { git = "https://github.com/crmne/egui", rev = "96c9740d53bb388f4dd7d8303d404a8148836909" }
egui = { git = "https://github.com/crmne/egui", rev = "96c9740d53bb388f4dd7d8303d404a8148836909" }
egui-wgpu = { git = "https://github.com/crmne/egui", rev = "96c9740d53bb388f4dd7d8303d404a8148836909" }
egui-winit = { git = "https://github.com/crmne/egui", rev = "96c9740d53bb388f4dd7d8303d404a8148836909" }
egui_extras = { git = "https://github.com/crmne/egui", rev = "96c9740d53bb388f4dd7d8303d404a8148836909" }
egui_glow = { git = "https://github.com/crmne/egui", rev = "96c9740d53bb388f4dd7d8303d404a8148836909" }
emath = { git = "https://github.com/crmne/egui", rev = "96c9740d53bb388f4dd7d8303d404a8148836909" }
epaint = { git = "https://github.com/crmne/egui", rev = "96c9740d53bb388f4dd7d8303d404a8148836909" }
epaint_default_fonts = { git = "https://github.com/crmne/egui", rev = "96c9740d53bb388f4dd7d8303d404a8148836909" }
# crmne/winit apps-0.30, shared with the same apps: winit 0.30.13 plus Wayland
# `Occluded` for the xdg-shell suspended state with commits on the app's behalf
# while it isn't presenting (rust-windowing/winit#4709, #4710), macOS Quit
# through close requests behind a feature Spotifast leaves off (winit#4692),
# a macOS window ordered out and flushed before it closes, so a Touch Bar
# cannot leave a ghost window behind (winit#4728), preserving the menu-bar
# window when the event loop exits (winit#4754), starting the event loop after
# a background tray has already launched AppKit (winit#4770), the macOS accent
# picker replacing the character it was opened on, Wayland clipboard data
# read on the existing data device, and file drag and drop on
# Wayland through the one data device egui's
# clipboard also uses, since Hyprland gives the clipboard and drags only to an
# app's first data device (#614). eframe from the fork above calls the
# Occluded API and shares that device. Move both forks together with the
# other apps.
winit = { git = "https://github.com/crmne/winit", rev = "59ebfb727b8c83fcd28f8ca59c3733e32b4b4e9b" }
# crmne/cpal: cpal 0.18.2 with stream names and roles for PipeWire and
# PulseAudio (RustAudio/cpal#1409), which fastframe-audio 0.14 uses to name
# Spotifast in volume mixers. rodio 0.21 gets cpal from crates.io; patching
# it to the same fork builds one cpal. Drop this when a cpal release has it.
cpal = { git = "https://github.com/crmne/cpal", rev = "fcd8b6ebee9d822426fa8d6839cdd89af6e0d491" }
# projectm-sys 1.2.2 hardcodes the Visual Studio 17 2022 CMake generator,
# which GitHub's windows-latest images no longer carry; the fork lets an
# explicit CMAKE_GENERATOR win, and asks vcpkg for the target's architecture
# so libprojectM links for Windows on ARM. Its libprojectM comes from
# crmne/projectm's spotifast branch, which adds a length check on HLSL
# identifiers. Drop each when upstream releases it.
projectm-sys = { git = "https://github.com/crmne/projectm-rs", rev = "93852ff7299e5a63ed1315437593fc70915c0863" }
# hyper-proxy2's unreleased rustls 0.23 update plus our upstream provider
# compatibility fix. Drop this fork when a release includes both changes.
hyper-proxy2 = { git = "https://github.com/crmne/hyper-proxy2", rev = "efca4811371ddae81c06be168de54194938d70b1" }
# crmne/librespot spotifast-dev: librespot's dev branch, which already has
# the queue controls and the Windows on ARM login, plus the patches it has
# not merged yet. Each is open as a librespot-org/librespot pull request:
# normalisation-factor reporting for the visualisers (#1798), a stop and a
# distinct event when Spotify refuses an audio key (#1799), socket setup
# inside the access-point timeout (#1800), ranged playlist reads (#1801), an
# in-memory credential cache for platform storage (#1802), bounded socket
# setup that races IPv6 and IPv4 (#1803), playback recovery after a session
# disconnect, picked up where a player kept across it has got to (#1765), a
# volume set while the device is inactive (#1770),
# the dealer connection through the configured proxy (#1665), tokens and
# credentials kept out of Debug output (#1806), and a bounded handshake
# packet size (#1807), removal of one upcoming track (#1809), live
# Connect device, player and queue state (#1704), the friend activity
# reads (#1829), the local file lookup made public (#1830), playlist rows
# changed by index (#1831), the start of upcoming tracks prefetched so a
# skip plays at once (#1832), and collection set reads and writes for songs
# hidden in a playlist (#1833), local files added to the queue (#1839),
# local files played at any sample rate (#1838) and in any channel
# layout (#1840), audio keys asked for one at a time with a back-off after
# a refusal (#1844), loads dropped once skipped past (#1845), and the key
# prefetched for the next track only (#1846).
# Every librespot crate comes from the fork so one copy exists. Drop each
# patch once upstream merges it.
librespot-audio = { git = "https://github.com/crmne/librespot", rev = "8ba22cd44168155b490e56aba80875771f27b75c" }
librespot-connect = { git = "https://github.com/crmne/librespot", rev = "8ba22cd44168155b490e56aba80875771f27b75c" }
librespot-core = { git = "https://github.com/crmne/librespot", rev = "8ba22cd44168155b490e56aba80875771f27b75c" }
librespot-metadata = { git = "https://github.com/crmne/librespot", rev = "8ba22cd44168155b490e56aba80875771f27b75c" }
librespot-oauth = { git = "https://github.com/crmne/librespot", rev = "8ba22cd44168155b490e56aba80875771f27b75c" }
librespot-playback = { git = "https://github.com/crmne/librespot", rev = "8ba22cd44168155b490e56aba80875771f27b75c" }
librespot-protocol = { git = "https://github.com/crmne/librespot", rev = "8ba22cd44168155b490e56aba80875771f27b75c" }