[package] name = "aichat" version = "0.13.0" edition = "2021" authors = ["sigoden "] description = "Use GPT-4(V), Gemini, LocalAI, Ollama and other LLMs in the terminal." license = "MIT OR Apache-2.0" homepage = "https://github.com/sigoden/aichat" repository = "https://github.com/sigoden/aichat" categories = ["command-line-utilities"] keywords = ["chatgpt", "localai", "gpt", "repl"] [dependencies] anyhow = "1.0.69" bytes = "1.4.0" clap = { version = "4.4.8", features = ["derive"] } dirs = "5.0.0" futures-util = "0.3.29" inquire = "0.7.0" is-terminal = "0.4.9" reedline = "0.29.0" serde = { version = "1.0.152", features = ["derive"] } serde_json = { version = "1.0.93", features = ["preserve_order"] } serde_yaml = "0.9.17" tokio = { version = "1.34.0", features = ["rt", "time", "macros", "signal"] } crossbeam = "0.8.2" crossterm = "0.27.0" chrono = "0.4.23" bincode = "1.3.3" parking_lot = "0.12.1" lazy_static = "1.4.0" fancy-regex = "0.13.0" base64 = "0.21.0" rustc-hash = "1.1.0" bstr = "1.8.0" 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" 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" [dependencies.reqwest] version = "0.11.14" features = ["json", "multipart", "socks", "rustls-tls", "rustls-tls-native-roots"] default-features = false [dependencies.syntect] version = "5.0.0" default-features = false features = ["parsing", "regex-onig", "plist-load"] [target.'cfg(target_os = "macos")'.dependencies] crossterm = { version = "0.27.0", features = ["use-dev-tty"] } [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] arboard = { version = "3.3.0", default-features = false } [profile.release] lto = true strip = true opt-level = "z"