feat(qbz-cache): extract audio caching to standalone crate

Create qbz-cache crate with:
- AudioCache: L1 in-memory LRU cache (~300MB)
- PlaybackCache: L2 disk-based cache (~500MB)
- LRU eviction with spillover from L1 to L2

src-tauri now re-exports from qbz-cache for backwards compatibility.
This enables TUI/headless clients to use caching without Tauri.
This commit is contained in:
vicrodh committed 2026-02-15 11:27:38 -06:00
1 parent a66d5a2af3
commit 384459d4d7
7 files changed
+345 -235

No files matched your search

+2 -4
View File
@@ -8,14 +8,12 @@ members = [
"qbz-qobuz",
"qbz-core",
"qbz-integrations",
"qbz-cache",
]
# Tier 2 crates (to be added later)
# "qbz-offlineplayback",
# "qbz-locallibrary",
# "qbz-library",
# "qbz-cast",
# "qbz-scrobbling",
# "qbz-plex",
[workspace.package]
version = "0.1.0"