From e4d301f3d72e6d353c92985ce61bda485532d0cc Mon Sep 17 00:00:00 2001 From: sigoden Date: Fri, 8 Dec 2023 07:42:47 +0800 Subject: fix: pipe failed on macos (#264) --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Cargo.toml') 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 } -- cgit v1.2.3