Pair cached audio with the requested and resolved quality, reject incompatible or unverified entries, and enforce disk budgets at startup and admission. Reuse the same policy for local, gapless and external playback while assembling CMAF segments in order with bounded concurrency. cx
28 lines
658 B
TOML
28 lines
658 B
TOML
[package]
|
|
name = "qbz-cache"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Audio caching system for QBZ - L1 memory + L2 disk caches"
|
|
authors = ["blitzkriegfc"]
|
|
|
|
[dependencies]
|
|
qbz-models = { path = "../qbz-models" }
|
|
# Logging
|
|
log = "0.4"
|
|
|
|
# Serialization (for stats)
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
|
|
# File system utilities
|
|
dirs = "6"
|
|
filetime = "0.2"
|
|
tempfile = "3"
|
|
|
|
# Image cache index + URL hashing
|
|
rusqlite = { version = "0.40", features = ["bundled"] }
|
|
md-5 = "0.10"
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
windows = { version = "0.61", features = ["Win32_System_SystemInformation"] }
|