feat(src): add Clone derive to GpuCommandsThe GpuCommands enum now derives Clone, enabling it to be cloned and used in contexts such as message passing or state storage.

New Features:
- Enables cloning of GpuCommands variants for greater flexibility.

Enhancements:
- Improves CLI ergonomics by allowing command enum to be transmitted across async boundaries.
This commit is contained in:
sankalp committed 2026-05-25 13:27:23 +05:45
1 parent 94aed29728
commit b6c0ca0b9b
1 file changed
+1 -1
+1 -1
View File
@@ -55,7 +55,7 @@ pub enum Commands {
Daemon,
}
#[derive(Subcommand, Debug)]
#[derive(Subcommand, Debug, Clone)]
pub enum GpuCommands {
/// Query the current graphics mode
Query,