cm-player/Cargo.toml
Christoffer Martinsson 6ad522f27c
All checks were successful
Build and Release / build-and-release (push) Successful in 50s
Optimize performance and reduce binary size
- Remove tokio async runtime dependency (~2MB reduction)
- Optimize fuzzy search to avoid string allocations
- Optimize incremental search to only rebuild tree when needed
- Extract duplicate scrolling logic to helper function
- Replace magic numbers with named constants
- Fix terminal cleanup to run even on error
- Fix context menu item count mismatch
- Remove unused metadata fields (duration, codec, hash)
2025-12-11 19:27:50 +01:00

39 lines
512 B
TOML

[package]
name = "cm-player"
version = "0.1.23"
edition = "2021"
[dependencies]
# TUI
ratatui = "0.28"
crossterm = "0.28"
# 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