generated from GarandPLG/rust-flake-template
633494ed4627df8e0ff5799f3ec47133054ad21d
Introduce a `Soundtrack` enum with Clap `ValueEnum` support and expose it in the CLI as a `--sound-track` option. Extend `AudioCmd` with a `ChangeSoundtrack` variant and refactor audio handling to load and cache soundtracks per‑track using a thread‑safe `RwLock`. Update the `handle_audio` function signature to accept the selected soundtrack, adjust re‑exports, and modify `main` to pass the chosen soundtrack to the audio thread. Also reposition the logging flag in the CLI definition.
rust-flake-template
Basic flake for rust development and production.
Languages
Rust
97.1%
Nix
2.9%