From 2073e4473e6de7d5b3c65cb6230d9cbd2026e44a Mon Sep 17 00:00:00 2001 From: Lennard Kittner Date: Thu, 19 Mar 2026 15:02:02 +0100 Subject: [PATCH] Fix compilation on non windows --- Cargo.toml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9a52152..cdbd9bb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,13 +9,15 @@ description = "A CLI and tray application for monitoring and managing HyperX hea clap = { version = "4.5.32", features = ["derive"] } enigo = "0.6.1" hidapi = { path = "vendor/hidapi" } -[target.'cfg(target_os = "windows")'.dependencies] -image = "0.25.10" thistermination = "1.0.0" -[target.'cfg(not(target_os = "linux"))'.dependencies] -tray-icon = "0.21.3" -winit = "0.30.13" [target.'cfg(target_os = "linux")'.dependencies] dialog = "0.3.0" ksni = "0.2.0" shell-escape = "0.1.5" + +[target.'cfg(not(target_os = "linux"))'.dependencies] +tray-icon = "0.21.3" +winit = "0.30.13" + +[target.'cfg(target_os = "windows")'.dependencies] +image = "0.25.10"