aichat/Cargo.toml

72 lines
2.0 KiB
TOML
Raw Normal View History

2023-03-02 11:52:11 +00:00
[package]
name = "aichat"
2024-02-25 12:27:30 +00:00
version = "0.13.0"
2023-03-02 11:52:11 +00:00
edition = "2021"
2023-03-02 23:57:23 +00:00
authors = ["sigoden <sigoden@gmail.com>"]
2023-12-20 23:21:17 +00:00
description = "Use GPT-4(V), Gemini, LocalAI, Ollama and other LLMs in the terminal."
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"]
2023-10-30 09:09:53 +00:00
keywords = ["chatgpt", "localai", "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"
inquire = "0.7.0"
is-terminal = "0.4.9"
2024-02-23 08:07:15 +00:00
reedline = "0.29.0"
2023-03-02 11:52:11 +00:00
serde = { version = "1.0.152", features = ["derive"] }
serde_json = { version = "1.0.93", features = ["preserve_order"] }
serde_yaml = "0.9.17"
2023-11-27 06:20:02 +00:00
tokio = { version = "1.34.0", features = ["rt", "time", "macros", "signal"] }
crossbeam = "0.8.2"
2023-11-27 06:20:02 +00:00
crossterm = "0.27.0"
chrono = "0.4.23"
bincode = "1.3.3"
parking_lot = "0.12.1"
lazy_static = "1.4.0"
2023-12-26 00:28:19 +00:00
fancy-regex = "0.13.0"
base64 = "0.21.0"
rustc-hash = "1.1.0"
2023-11-27 06:20:02 +00:00
bstr = "1.8.0"
2024-02-23 08:07:15 +00:00
nu-ansi-term = "0.50.0"
async-trait = "0.1.74"
textwrap = "0.16.0"
ansi_colours = "1.2.2"
reqwest-eventsource = "0.5.0"
2023-11-02 13:38:01 +00:00
simplelog = "0.12.1"
log = "0.4.20"
shell-words = "1.1.0"
mime_guess = "2.0.4"
sha2 = "0.10.8"
bitflags = "2.4.1"
unicode-width = "0.1.11"
2023-03-08 13:35:21 +00:00
[dependencies.reqwest]
version = "0.11.14"
features = ["json", "multipart", "socks", "rustls-tls", "rustls-tls-native-roots"]
2023-03-08 13:35:21 +00:00
default-features = false
[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-03-02 23:57:23 +00:00
[profile.release]
lto = true
strip = true
opt-level = "z"