dmx-mainhall-foo/Cargo.toml
Yan Minagawa 55bd37cd99 add lightcontrol rust tool
Three binaries against the c-base mainhall rig:

- lightcontrol: TUI with 15 animated presets, live matelight-sync via
  the /monitor WebSocket, and a microphone beat detector that drives
  the BeatPulse preset across RGB PARs, CB-100 colour-wheels, and
  TSL-250 scanners.
- panels: one-shot RGB wash for the Showtec LED Par 56 wall panels via
  dmxbackend.
- bars: ArtNet direct driver for the Stairville SonicPulse LED bars,
  with ArtPoll discovery and a universe sweeper.

Shared lib code (fixture model, render pipeline, matelight + beat
modules) lives in src/lib.rs. Mic feature behind the default `mic`
cargo feature so builds without ALSA dev libs work via
--no-default-features.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-10 01:29:03 +02:00

23 lines
569 B
TOML

[package]
name = "lightcontrol"
version = "0.1.0"
edition = "2021"
[features]
default = ["mic"]
mic = ["dep:cpal"]
[dependencies]
anyhow = "1"
cpal = { version = "0.15", optional = true }
crossterm = "0.28"
futures-util = { version = "0.3", default-features = false, features = ["sink"] }
ratatui = "0.29"
reqwest = { version = "0.12", features = ["json"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time"] }
tokio-tungstenite = "0.24"
[profile.release]
lto = "thin"