generated from GarandPLG/rust-flake-template
Remove AppChannels, use separate receivers
Refactor App::run to accept individual Receiver arguments instead of an AppChannels struct. Delete the AppChannels definition and its re‑export, and update main.rs to create each channel manually and pass the receivers to App::run. Rename the CLI field `sound_track` to `soundtrack` and adjust all references. Clean up imports and formatting accordingly.
This commit is contained in:
1 parent
5b03f54efb
commit
1daa9802ed
5 files changed
+27
-63
No files matched your search
+1
-1
@@ -148,7 +148,7 @@ pub struct Cli {
|
||||
default_value_t = Soundtrack::Default,
|
||||
value_enum
|
||||
)]
|
||||
pub sound_track: Soundtrack,
|
||||
pub soundtrack: Soundtrack,
|
||||
|
||||
/// Mute soundtrack (default: disabled).
|
||||
#[arg(
|
||||
|
||||
Reference in new issue
Block a user