-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
95 lines (84 loc) · 2.23 KB
/
Cargo.toml
File metadata and controls
95 lines (84 loc) · 2.23 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[package]
name = "cliai"
version = "0.1.0"
edition = "2021"
authors = ["Byte Strix <contact@bytestrix.com>"]
description = "A completely free and open-source CLI assistant powered by AI - use your own API keys or run locally"
homepage = "https://github.com/cliai/cliai"
repository = "https://github.com/cliai/cliai"
license = "MIT"
keywords = ["cli", "ai", "assistant", "openai", "anthropic", "ollama", "terminal", "free"]
categories = ["command-line-utilities", "development-tools"]
readme = "README.md"
exclude = [
"target/",
".git/",
".env",
"*.log",
"test_results_*.md",
]
[[bin]]
name = "cliai"
path = "src/main.rs"
[[bin]]
name = "test_runner"
path = "src/bin/test_runner.rs"
[[bin]]
name = "compare_runner"
path = "src/bin/compare_runner.rs"
[lib]
name = "cliai"
path = "src/lib.rs"
[dependencies]
reqwest = { version = "0.12", features = ["json"] }
tokio = { version = "1", features = ["full"] }
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
clap = { version = "4.4", features = ["derive"] }
dirs = "5.0"
colored = "2.1"
indicatif = "0.17"
anyhow = "1.0"
chrono = { version = "0.4", features = ["serde"] }
regex = "1.10"
async-trait = "0.1"
webbrowser = "0.8"
keyring = "2.3"
base64 = "0.22"
toml = "0.8"
futures = "0.3"
[dev-dependencies]
tempfile = "3.8"
tokio-test = "0.4"
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true
[profile.dev]
debug = true
opt-level = 0
[features]
default = ["local-ai"]
local-ai = []
debug-mode = []
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
# Debian package metadata
[package.metadata.deb]
maintainer = "CLIAI Team <contact@cliai.com>"
copyright = "2024, CLIAI Team <contact@cliai.com>"
license-file = ["LICENSE", "4"]
extended-description = """\
CLIAI is a completely free and open-source command-line AI assistant that helps you \
with terminal commands, system administration, and general questions. Use your own \
API keys (OpenAI, Anthropic, etc.) or run locally with Ollama for maximum privacy."""
depends = "$auto"
section = "utils"
priority = "optional"
assets = [
["target/release/cliai", "usr/bin/", "755"],
["README.md", "usr/share/doc/cliai/", "644"],
["LICENSE", "usr/share/doc/cliai/", "644"],
]