Skip to content

Commit ab52159

Browse files
committed
fix: remove arboard from non desktop os
1 parent 4d7264e commit ab52159

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Cargo.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ rss = { version = "2.0.8", default-features = false }
3737
chrono = { version = "0.4.38", features = ["clock"], default-features = false }
3838
transmission-rpc = { version = "0.4.3" }
3939
open = "5.1.4"
40-
arboard = { version = "3.4", default-features = false }
4140
dirs = "5.0.1"
4241
shellexpand = "3.1.0"
4342
indexmap = { version = "2.2.6", default-features = false }
@@ -62,6 +61,9 @@ image = ["png"]
6261
[target.'cfg(unix)'.dependencies]
6362
nix = { version = "0.29.0", features = ["signal"] }
6463

64+
[target.'cfg(any(target_os = "linux", target_os = "windows", target_os = "macos"))'.dependencies]
65+
arboard = { version = "3.4", default-features = false }
66+
6567
[package.metadata.deb]
6668
maintainer = "Steven Culwell <[email protected]>"
6769
copyright = "2024, Steven Culwell <[email protected]>"

0 commit comments

Comments
 (0)