From ab52159cfddbce491cb8cf14365a9898ab1ee1fc Mon Sep 17 00:00:00 2001 From: Brad Culwell Date: Wed, 14 Aug 2024 02:41:24 +0000 Subject: [PATCH] fix: remove arboard from non desktop os --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 1ee6b78..479eb94 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,6 @@ rss = { version = "2.0.8", default-features = false } chrono = { version = "0.4.38", features = ["clock"], default-features = false } transmission-rpc = { version = "0.4.3" } open = "5.1.4" -arboard = { version = "3.4", default-features = false } dirs = "5.0.1" shellexpand = "3.1.0" indexmap = { version = "2.2.6", default-features = false } @@ -62,6 +61,9 @@ image = ["png"] [target.'cfg(unix)'.dependencies] nix = { version = "0.29.0", features = ["signal"] } +[target.'cfg(any(target_os = "linux", target_os = "windows", target_os = "macos"))'.dependencies] +arboard = { version = "3.4", default-features = false } + [package.metadata.deb] maintainer = "Steven Culwell " copyright = "2024, Steven Culwell "