Files
musyx/crates/musyx/Cargo.toml
T
yuriy.p 5dbdc04cd4 feat: My server, browse and play a Navidrome library
Adds a "My server" sidebar item (⌘5) for Navidrome and other
Subsonic-compatible servers: albums, artists, playlists, starred songs
and search, with album, artist and playlist pages. Server songs share the
player and queue with Yandex tracks and scrobble back to the server.

- New subsonic-api crate: token auth, envelope and error parsing, and a
  stream plan that keeps files the player decodes and asks the server to
  transcode the rest to MP3.
- ym_api::Track gains a Subsonic source; the player fetches, reports and
  scrobbles by source. Server errors never sign out of Yandex, and the
  Yandex client never fetches server audio or covers.
- Server credentials live in the keychain; connect and disconnect from
  the page or Settings.
- Server tracks have no likes; lyrics come from LRCLIB.
2026-11-16 12:21:02 +06:00

46 lines
1.3 KiB
TOML

[package]
name = "musyx"
description = "Desktop player for Yandex Music"
version.workspace = true
edition.workspace = true
license.workspace = true
publish.workspace = true
[dependencies]
ym-api = { path = "../ym-api" }
subsonic-api = { path = "../subsonic-api" }
iced = { version = "0.14.0", features = ["svg", "image", "tokio", "advanced", "qr_code", "lazy", "canvas"] }
keyring = "4.2.0"
rodio = { version = "0.23.0", default-features = false, features = ["playback", "mp3", "mp4", "flac"] }
rand = "0.9"
open = "5.4.4"
serde_json = "1"
serde = { version = "1", features = ["derive"] }
souvlaki = "0.8.3"
tokio = { version = "1", features = ["time", "rt", "fs", "sync"] }
directories = "6.0.0"
sys-locale = "0.3.2"
png = { version = "0.18.1", optional = true }
# Already built for iced's image widget; used directly to blur the Now Playing backdrop.
image = { version = "0.25", default-features = false }
[target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.6.3"
objc2-foundation = "0.3.2"
objc2-app-kit = "0.3.2"
block2 = "0.6.2"
[build-dependencies]
winresource = "0.1.34"
[dev-dependencies]
iced_test = "0.14"
tokio = { version = "1", features = ["macros", "rt"] }
[features]
# `MUSYX_SNAPSHOT=out.png cargo run --features snapshot` renders one screen to a PNG and exits.
snapshot = ["dep:png"]
[lints]
workspace = true