All checks were successful
Build and Release / build-and-release (push) Successful in 54s
Change position update logic to only trigger redraw when the displayed value (rounded to seconds) changes, not when the raw float value changes. This eliminates jumpy time display and reduces unnecessary redraws.
42 lines
579 B
TOML
42 lines
579 B
TOML
[package]
|
|
name = "cm-player"
|
|
version = "0.1.18"
|
|
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
|