-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
64 lines (54 loc) · 1.66 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[package]
name = "aio-cli"
description = "Streamlined AI Terminal Interactions"
version = "0.9.0"
edition = "2021"
authors = ["Gabin Lefranc <[email protected]>"]
readme = "README.md"
license = "MIT"
categories = ["command-line-utilities", "parsing"]
repository = "https://github.com/glcraft/aio"
homepage = "https://github.com/glcraft/aio"
keywords = ["cli", "ai", "llm", "openai", "markdown"]
[[bin]]
name = "aio"
path = "src/main.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0"
async-trait = "0.1"
bytes = "1.1.0"
clap = { version = "4.2.2", features = ["derive"] }
crossterm = "0.27"
log = "^0.4"
num-traits = "0.2"
once_cell = "1.18"
pin-project = "1.1"
regex = "1.7.3"
reqwest = { version = "0.11", features = ["gzip", "brotli", "deflate", "json", "stream", "default-tls"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.95"
serde_yaml = "0.9"
simplelog = "^0.12"
smartstring = { version = "1.0", features = ["serde"] }
tempfile = "3.8"
thiserror = "1.0"
tokio = { version = "1", features = ["full"] }
tokio-stream = "0.1.12"
tokio-util = {version = "0.7", features = ["io"]}
aio-cargo-info = { path = "./crates/aio-cargo-info", version = "0.1" }
[dependencies.llama_cpp]
version = "^0.3.2"
default-features = false
features = ["compat"]
optional = true
[target.'cfg(target_arch = "x86_64")'.dependencies.llama_cpp]
version = "^0.3.1"
features = ["native", "compat"]
optional = true
[features]
default = ["openai", "local-llm"]
local-llm = ["llama_cpp"]
openai = []
[target.'cfg(target_os = "linux")'.dependencies]
openssl = {version = "0.10", features = ["vendored"]}