summaryrefslogtreecommitdiffstats
path: root/Cargo.lock
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-03-07 22:33:34 +0800
committerGitHub <noreply@github.com>2023-03-07 22:33:34 +0800
commit360264121ca2931cb7f2fa40594ba590b245ace5 (patch)
tree71e81208cf50b02116c89974aca17a3cc762b1fc /Cargo.lock
parentc7fcdb174440817706b818154a6bbcaf58948caa (diff)
downloadaichat-360264121ca2931cb7f2fa40594ba590b245ace5.tar.gz
feat: command mode supports stream out (#31)
* feat: command mode supports stream out * update cli
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock29
1 files changed, 29 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 7d5be2f..69a94d5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -20,6 +20,7 @@ dependencies = [
"clap",
"crossbeam",
"crossterm 0.26.1",
+ "ctrlc",
"dirs",
"eventsource-stream",
"futures-util",
@@ -321,6 +322,16 @@ dependencies = [
]
[[package]]
+name = "ctrlc"
+version = "3.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bbcf33c2a618cbe41ee43ae6e9f2e48368cd9f9db2896f10167d8d762679f639"
+dependencies = [
+ "nix",
+ "windows-sys",
+]
+
+[[package]]
name = "cxx"
version = "1.0.92"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -887,6 +898,18 @@ dependencies = [
]
[[package]]
+name = "nix"
+version = "0.26.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bfdda3d196821d6af13126e40375cdf7da646a96114af134d5f417a9a1dc8e1a"
+dependencies = [
+ "bitflags",
+ "cfg-if",
+ "libc",
+ "static_assertions",
+]
+
+[[package]]
name = "nom"
version = "7.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1363,6 +1386,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
[[package]]
+name = "static_assertions"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
+
+[[package]]
name = "strip-ansi-escapes"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"