From e9a0a8b6b2c5aac0e12b681b2a2b4c2546f228f5 Mon Sep 17 00:00:00 2001 From: blacknon Date: Sat, 9 Nov 2024 22:15:45 +0900 Subject: [PATCH] update. --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 9bd8931..07aa85a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,13 +34,15 @@ serde_derive = "1.0.197" serde_json = "1.0.114" shell-words = "1.1.0" similar = {version = "2.5.0", features = ["serde", "unicode", "text", "inline", "bytes"]} -termios = "0.3" termwiz = "0.22.0" tokio = {version = "1.16", features = ["full"]} unicode-segmentation = "1.10" unicode-truncate = "1" unicode-width = "=0.1.13" +[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies] +termios = "0.3" + [package.metadata.binstall] bin-dir = "bin/{ bin }{ binary-ext }" pkg-url = "{ repo }/releases/download/{ version }/{ name }-{ version }.{ target }.{ archive-format }"