[package] name = "spotify-tv" description = "Spotify for Fennec OS: native TV client with Liquid Glass, Spotify Connect and librespot playback" version = "0.1.0" edition = "2024" # sf-ui (and Slint) are GPL-3.0 on a TV box; librespot is MIT. license = "GPL-3.0-only" publish = false [dependencies] # The Fennec OS UI kit (Fennec SDK): Liquid Glass, TV components, images. sf-ui = { git = "https://gitea.bluefox.support/fennec/sdk", tag = "v0.1.1" } slint = "1.18" anyhow = "1" log = "0.4" env_logger = "0.11" serde = { version = "1", features = ["derive"] } serde_json = "1" toml = "0.9" ureq = { version = "3", features = ["json"] } tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time", "signal"] } futures-util = { version = "0.3", default-features = false } # The pairing QR code on the sign-in screen. qrcode = { version = "0.14", default-features = false } # Spotify: session, Connect (Spirc), zeroconf sign-in, playback. librespot-core = { version = "0.8", default-features = false, features = ["rustls-tls-webpki-roots"] } librespot-connect = { version = "0.8", default-features = false, features = ["rustls-tls-webpki-roots"] } librespot-discovery = { version = "0.8", default-features = false, features = ["with-libmdns"] } librespot-metadata = { version = "0.8", default-features = false } # Sound: GStreamer on the TV (PipeWire), rodio elsewhere (UI work on Windows). [target.'cfg(target_os = "linux")'.dependencies] librespot-playback = { version = "0.8", default-features = false, features = ["gstreamer-backend", "rustls-tls-webpki-roots"] } [target.'cfg(not(target_os = "linux"))'.dependencies] librespot-playback = { version = "0.8", default-features = false, features = ["rodio-backend", "rustls-tls-webpki-roots"] } [build-dependencies] slint-build = "1.18" [profile.release] lto = "thin" strip = true # Its own workspace (not part of any checkout around it). [workspace]