summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-12-28 21:52:45 +0800
committerGitHub <noreply@github.com>2023-12-28 21:52:45 +0800
commit665f7ff4b94310a1b47c981d62d1b67d4cd91bfc (patch)
tree8f57395380530bdd5c8bc250f2dc860361639044 /Cargo.toml
parente198e35a2805d13c0c25b9bd87fb4f59ba04bf47 (diff)
downloadaichat-665f7ff4b94310a1b47c981d62d1b67d4cd91bfc.tar.gz
fix: copy on linux wayland (#288)
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml5
1 files changed, 4 insertions, 1 deletions
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]