summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-10-29 08:13:46 +0800
committersigoden <sigoden@gmail.com>2023-10-29 08:13:46 +0800
commit557bed14597e72f93836d3ed06c06dabb555898d (patch)
tree90ea2b9d4b4d3c981451e0a7be0c475c5d7b9c90
parent871adab22a64bd803b8ed0da6d6780ac7f5ab5b6 (diff)
downloadaichat-557bed14597e72f93836d3ed06c06dabb555898d.tar.gz
chore: update Cargo.toml
-rw-r--r--Cargo.lock12
-rw-r--r--Cargo.toml4
2 files changed, 2 insertions, 14 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 7d93df1..d67eec9 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1086,16 +1086,6 @@ dependencies = [
]
[[package]]
-name = "num_cpus"
-version = "1.16.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
-dependencies = [
- "hermit-abi",
- "libc",
-]
-
-[[package]]
name = "objc"
version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1791,8 +1781,6 @@ dependencies = [
"bytes",
"libc",
"mio",
- "num_cpus",
- "parking_lot",
"pin-project-lite",
"signal-hook-registry",
"socket2 0.5.5",
diff --git a/Cargo.toml b/Cargo.toml
index 3e142dc..1a4f071 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,7 +3,7 @@ name = "aichat"
version = "0.9.0-rc2"
edition = "2021"
authors = ["sigoden <sigoden@gmail.com>"]
-description = "A powerful chatgpt cli."
+description = "A powerful chatgpt/localai cli."
license = "MIT OR Apache-2.0"
homepage = "https://github.com/sigoden/aichat"
repository = "https://github.com/sigoden/aichat"
@@ -23,7 +23,7 @@ reedline = "0.21.0"
serde = { version = "1.0.152", features = ["derive"] }
serde_json = "1.0.93"
serde_yaml = "0.9.17"
-tokio = { version = "1.26.0", features = ["full"] }
+tokio = { version = "1.26.0", features = ["rt", "time", "macros", "signal"] }
crossbeam = "0.8.2"
crossterm = "0.26.1"
chrono = "0.4.23"