From 557bed14597e72f93836d3ed06c06dabb555898d Mon Sep 17 00:00:00 2001 From: sigoden Date: Sun, 29 Oct 2023 08:13:46 +0800 Subject: [PATCH] chore: update Cargo.toml --- Cargo.lock | 12 ------------ Cargo.toml | 4 ++-- 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 @@ -1085,16 +1085,6 @@ dependencies = [ "autocfg", ] -[[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" @@ -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 "] -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"