Reorganize qbz-player to export the complete Player struct with all playback functionality. Changes: - Restructure: mod.rs -> player/mod.rs with submodules - Add rodio, serde, reqwest, qbz-qobuz dependencies - Export Player, SharedState, PlaybackState, PlaybackEvent - Export streaming types (BufferedMediaSource, etc.) The Player module is now fully available from qbz-player crate. Full workspace and src-tauri compile successfully.
39 lines
854 B
TOML
39 lines
854 B
TOML
[package]
|
|
name = "qbz-player"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "Playback engine and queue management for QBZ"
|
|
|
|
[dependencies]
|
|
qbz-models = { path = "../qbz-models" }
|
|
qbz-audio = { path = "../qbz-audio" }
|
|
qbz-qobuz = { path = "../qbz-qobuz" }
|
|
|
|
# Serialization
|
|
serde = { workspace = true }
|
|
|
|
# Async
|
|
tokio = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
futures-util = { workspace = true }
|
|
tokio-stream = { workspace = true }
|
|
|
|
# Logging
|
|
log = { workspace = true }
|
|
|
|
# Error handling
|
|
thiserror = { workspace = true }
|
|
|
|
# Random (for shuffle)
|
|
rand = "0.8"
|
|
|
|
# Audio decoding
|
|
symphonia = { workspace = true }
|
|
|
|
# Vendored audio libraries (same as qbz-audio)
|
|
rodio = { path = "../../src-tauri/vendor/rodio", features = ["symphonia-all"] }
|
|
|
|
# HTTP client for streaming
|
|
reqwest = { workspace = true }
|