2023-03-02 11:52:11 +00:00
|
|
|
[package]
|
|
|
|
name = "aichat"
|
2024-07-03 23:13:29 +00:00
|
|
|
version = "0.19.0"
|
2023-03-02 11:52:11 +00:00
|
|
|
edition = "2021"
|
2023-03-02 23:57:23 +00:00
|
|
|
authors = ["sigoden <sigoden@gmail.com>"]
|
2024-06-01 02:45:53 +00:00
|
|
|
description = "All-in-one AI CLI Tool"
|
2023-03-02 23:57:23 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
homepage = "https://github.com/sigoden/aichat"
|
|
|
|
repository = "https://github.com/sigoden/aichat"
|
|
|
|
categories = ["command-line-utilities"]
|
2024-04-20 13:07:30 +00:00
|
|
|
keywords = ["chatgpt", "llm", "cli", "gpt", "repl"]
|
2023-03-02 11:52:11 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
anyhow = "1.0.69"
|
|
|
|
bytes = "1.4.0"
|
2023-11-27 06:20:02 +00:00
|
|
|
clap = { version = "4.4.8", features = ["derive"] }
|
2023-10-17 11:31:29 +00:00
|
|
|
dirs = "5.0.0"
|
2023-11-27 06:20:02 +00:00
|
|
|
futures-util = "0.3.29"
|
2024-02-24 11:13:48 +00:00
|
|
|
inquire = "0.7.0"
|
2023-10-27 06:42:08 +00:00
|
|
|
is-terminal = "0.4.9"
|
2024-05-01 00:02:41 +00:00
|
|
|
reedline = "0.32.0"
|
2023-03-02 11:52:11 +00:00
|
|
|
serde = { version = "1.0.152", features = ["derive"] }
|
2023-11-01 02:28:54 +00:00
|
|
|
serde_json = { version = "1.0.93", features = ["preserve_order"] }
|
2023-03-03 01:38:53 +00:00
|
|
|
serde_yaml = "0.9.17"
|
2024-04-23 06:32:06 +00:00
|
|
|
tokio = { version = "1.34.0", features = ["rt", "time", "macros", "signal", "rt-multi-thread"] }
|
2024-04-23 23:16:56 +00:00
|
|
|
tokio-graceful = "0.1.6"
|
|
|
|
tokio-stream = { version = "0.1.15", default-features = false, features = ["sync"] }
|
2023-11-27 06:20:02 +00:00
|
|
|
crossterm = "0.27.0"
|
2023-03-04 22:17:43 +00:00
|
|
|
chrono = "0.4.23"
|
2023-03-07 07:37:03 +00:00
|
|
|
bincode = "1.3.3"
|
2023-03-08 23:58:44 +00:00
|
|
|
parking_lot = "0.12.1"
|
2023-03-09 07:30:39 +00:00
|
|
|
lazy_static = "1.4.0"
|
2023-12-26 00:28:19 +00:00
|
|
|
fancy-regex = "0.13.0"
|
2024-03-06 01:52:26 +00:00
|
|
|
base64 = "0.22.0"
|
2024-02-23 08:07:15 +00:00
|
|
|
nu-ansi-term = "0.50.0"
|
2023-10-26 08:42:54 +00:00
|
|
|
async-trait = "0.1.74"
|
2023-10-30 02:07:01 +00:00
|
|
|
textwrap = "0.16.0"
|
2023-10-30 03:45:07 +00:00
|
|
|
ansi_colours = "1.2.2"
|
2024-03-30 02:44:25 +00:00
|
|
|
reqwest-eventsource = "0.6.0"
|
2023-11-02 13:38:01 +00:00
|
|
|
simplelog = "0.12.1"
|
|
|
|
log = "0.4.20"
|
2023-11-13 11:53:24 +00:00
|
|
|
shell-words = "1.1.0"
|
2023-11-27 06:04:50 +00:00
|
|
|
sha2 = "0.10.8"
|
2024-02-22 03:39:22 +00:00
|
|
|
unicode-width = "0.1.11"
|
2024-05-18 11:06:21 +00:00
|
|
|
async-recursion = "1.1.1"
|
2024-04-23 23:16:56 +00:00
|
|
|
http = "1.1.0"
|
|
|
|
http-body-util = "0.1"
|
|
|
|
hyper = { version = "1.0", features = ["full"] }
|
|
|
|
hyper-util = { version = "0.1", features = ["server-auto", "client-legacy"] }
|
|
|
|
time = { version = "0.3.36", features = ["macros"] }
|
2024-05-18 11:06:21 +00:00
|
|
|
indexmap = { version = "2.2.6", features = ["serde"] }
|
2024-04-28 03:27:06 +00:00
|
|
|
hmac = "0.12.1"
|
|
|
|
aws-smithy-eventstream = "0.60.4"
|
|
|
|
urlencoding = "2.1.3"
|
2024-05-14 07:02:58 +00:00
|
|
|
unicode-segmentation = "1.11.0"
|
2024-05-22 13:29:23 +00:00
|
|
|
json-patch = { version = "2.0.0", default-features = false }
|
2024-06-02 11:27:41 +00:00
|
|
|
bitflags = "2.5.0"
|
2024-06-05 01:02:23 +00:00
|
|
|
path-absolutize = "3.1.1"
|
|
|
|
hnsw_rs = "0.3.0"
|
2024-06-20 03:26:45 +00:00
|
|
|
rayon = "1.10.0"
|
2024-06-29 05:20:00 +00:00
|
|
|
uuid = { version = "1.9.1", features = ["v4"] }
|
2023-03-04 01:02:57 +00:00
|
|
|
|
2023-03-08 13:35:21 +00:00
|
|
|
[dependencies.reqwest]
|
2024-03-30 02:44:25 +00:00
|
|
|
version = "0.12.0"
|
2023-12-20 03:29:52 +00:00
|
|
|
features = ["json", "multipart", "socks", "rustls-tls", "rustls-tls-native-roots"]
|
2023-03-08 13:35:21 +00:00
|
|
|
default-features = false
|
|
|
|
|
2023-03-04 01:02:57 +00:00
|
|
|
[dependencies.syntect]
|
|
|
|
version = "5.0.0"
|
|
|
|
default-features = false
|
2023-10-31 01:06:41 +00:00
|
|
|
features = ["parsing", "regex-onig", "plist-load"]
|
2023-03-02 23:57:23 +00:00
|
|
|
|
2023-12-07 23:42:47 +00:00
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
|
|
crossterm = { version = "0.27.0", features = ["use-dev-tty"] }
|
|
|
|
|
2023-12-28 13:52:45 +00:00
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
|
|
arboard = { version = "3.3.0", default-features = false, features = ["wayland-data-control"] }
|
|
|
|
|
|
|
|
[target.'cfg(not(any(target_os = "linux", target_os = "android", target_os = "emscripten")))'.dependencies]
|
2023-11-27 06:20:02 +00:00
|
|
|
arboard = { version = "3.3.0", default-features = false }
|
2023-11-07 08:36:40 +00:00
|
|
|
|
2024-05-23 11:28:56 +00:00
|
|
|
[dev-dependencies]
|
2024-06-05 01:02:23 +00:00
|
|
|
pretty_assertions = "1.4.0"
|
2024-05-23 11:28:56 +00:00
|
|
|
rand = "0.8.5"
|
|
|
|
|
2023-03-02 23:57:23 +00:00
|
|
|
[profile.release]
|
|
|
|
lto = true
|
|
|
|
strip = true
|
|
|
|
opt-level = "z"
|