From b6c0ca0b9bc5fe55cdb8a277093f85e4095cda59 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Mon, 25 May 2026 13:27:23 +0545 Subject: [PATCH] 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. --- src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.rs b/src/cli.rs index bc03970..0b73936 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -55,7 +55,7 @@ pub enum Commands { Daemon, } -#[derive(Subcommand, Debug)] +#[derive(Subcommand, Debug, Clone)] pub enum GpuCommands { /// Query the current graphics mode Query,