summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-12-08 07:42:47 +0800
committerGitHub <noreply@github.com>2023-12-08 07:42:47 +0800
commite4d301f3d72e6d353c92985ce61bda485532d0cc (patch)
treede1f725b8b80853e036fce62fa42a299b3877998 /Cargo.toml
parente7272398dd96c2c9f9548cd81cd3a11680ddf74b (diff)
downloadaichat-e4d301f3d72e6d353c92985ce61bda485532d0cc.tar.gz
fix: pipe failed on macos (#264)
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 4f6fd62..aba022c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -54,6 +54,9 @@ version = "5.0.0"
default-features = false
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]
arboard = { version = "3.3.0", default-features = false }