All checks were successful
Build and Release / build-and-release (push) Successful in 54s
Move cache duration update from update_properties (~10Hz) to update_metadata (~0.5Hz) to match the refresh rate of codec, bitrate, and sample rate. All bottom status bar metrics now update at the same frequency.
42 lines
579 B
TOML
42 lines
579 B
TOML
[package]
|
|
name = "cm-player"
|
|
version = "0.1.16"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
# TUI
|
|
ratatui = "0.28"
|
|
crossterm = "0.28"
|
|
|
|
# Async runtime
|
|
tokio = { version = "1.40", features = ["full"] }
|
|
|
|
# Serialization
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
toml = "0.8"
|
|
|
|
# File system
|
|
walkdir = "2.5"
|
|
dirs = "5.0"
|
|
|
|
# MPV player (via IPC)
|
|
tempfile = "3.14"
|
|
|
|
# Error handling
|
|
anyhow = "1.0"
|
|
thiserror = "1.0"
|
|
|
|
# Logging
|
|
tracing = "0.1"
|
|
tracing-subscriber = "0.3"
|
|
|
|
# Random
|
|
rand = "0.8"
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = true
|
|
codegen-units = 1
|
|
strip = true
|