Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
67 lines (53 loc) · 1.71 KB
/
Copy pathCargo.toml
File metadata and controls
67 lines (53 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[package]
name = "termixer"
version = "0.1.9"
edition = "2024"
description = "A TUI mixer for DJ-ing from any Unix system's terminal."
authors = ["Daniel Tompkins"]
license = "MIT"
repository = "https://github.com/l00sed/termixer"
homepage = "https://github.com/l00sed/termixer"
readme = "README.md"
keywords = ["tui", "mixer", "dj", "mpv", "supercollider"]
categories = ["command-line-utilities", "multimedia::audio"]
[dependencies]
# TUI framework
ratatui = "0.30"
crossterm = "0.29"
# Async runtime for MPV IPC
tokio = { version = "1", features = ["full"] }
# JSON for MPV IPC protocol
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Error handling
anyhow = "1"
# File globbing
glob = "0.3"
# Audio playback for samples
rodio = "0.22"
# Audio device enumeration (used by output.rs)
cpal = "0.17"
coreaudio-rs = { version = "0.13", optional = true }
jack = { version = "0.13", optional = true }
# Lock-free primitives for the real-time audio path
triple_buffer = "8" # SPSC snapshot: UI writes control state, audio reads latest
rtrb = "0.3" # SPSC ring for audio commands (no Mutex)
crossbeam-queue = "0.3" # Lock-free bounded queue for debug log capture
# Unicode display-width aware string handling
unicode-width = "0.2"
unicode-segmentation = "1"
# BPM detection
stratum-dsp = "1.0"
symphonia = { version = "0.5", features = ["mp3", "aac", "flac", "ogg", "wav", "isomp4"] }
# Logging (optional, for debugging)
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Unix process control (for stderr redirect)
libc = "0.2"
[features]
default = []
jack-backend = ["dep:jack"]
coreaudio-backend = ["dep:coreaudio-rs"]
[profile.release]
lto = true
codegen-units = 1