From 665f7ff4b94310a1b47c981d62d1b67d4cd91bfc Mon Sep 17 00:00:00 2001 From: sigoden Date: Thu, 28 Dec 2023 21:52:45 +0800 Subject: fix: copy on linux wayland (#288) --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 84e881a..7be3654 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,7 +57,10 @@ features = ["parsing", "regex-onig", "plist-load"] [target.'cfg(target_os = "macos")'.dependencies] crossterm = { version = "0.27.0", features = ["use-dev-tty"] } -[target.'cfg(not(any(target_os = "android", target_os = "emscripten")))'.dependencies] +[target.'cfg(target_os = "linux")'.dependencies] +arboard = { version = "3.3.0", default-features = false, features = ["wayland-data-control"] } + +[target.'cfg(not(any(target_os = "linux", target_os = "android", target_os = "emscripten")))'.dependencies] arboard = { version = "3.3.0", default-features = false } [profile.release] -- cgit v1.2.3