-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
156 lines (141 loc) · 4.12 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
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
[package]
name = "kwaak"
version = "0.8.1"
edition = "2021"
categories = ["development-tools", "command-line-utilities"]
readme = "README.md"
repository = "https://github.com/bosun-ai/kwaak"
homepage = "https://github.com/bosun-ai/kwaak"
keywords = ["terminal", "swiftide", "tui", "ai", "llm"]
description = "Run a team of autonomous agents on your code, right from your terminal"
license = "MIT"
[dependencies]
anyhow = "1.0.95"
crossterm = "0.28.1"
ratatui = { version = "0.29.0", features = ["unstable-rendered-line-info"] }
tui-textarea = "0.7.0"
tokio = { version = "1.42.0", features = ["full"] }
tokio-util = { version = "0.7.13", features = ["rt"] }
strum = "0.26.3"
strum_macros = "0.26.4"
swiftide-docker-executor = "0.4.2"
swiftide = { version = "0.18.0", features = [
"lancedb",
"openai",
"tree-sitter",
"redb",
"ollama",
"swiftide-agents",
"open-router",
"fastembed",
] }
fastembed = "4.4.0"
swiftide-macros = { version = "0.18.0" }
toml = "0.8.19"
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.138"
secrecy = { version = "0.10.3", features = ["serde"] }
tracing = "0.1.41"
async-openai = "0.27.1"
dirs = "6.0.0"
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
tracing-appender = "0.2.3"
tracing-opentelemetry = { version = "0.28.0", optional = true }
opentelemetry_sdk = { version = "0.27.1", optional = true, features = [
"rt-tokio",
] }
opentelemetry = { version = "0.27.1", optional = true }
opentelemetry-otlp = { version = "0.27.0", optional = true, features = [
"http-proto",
"http-json",
"reqwest-rustls",
"reqwest-client",
"logs",
"metrics",
"trace",
"internal-logs",
], default-features = false }
tui-markdown = "0.3.1"
uuid = { version = "1.11.0", features = ["v4"] }
derive_builder = "0.20.2"
tui-logger = { features = ["tracing-support"], version = "0.14.1" }
# Only needed for tui-logger filtering
log = "0.4.22"
throbber-widgets-tui = "0.8.0"
ignore = "0.4.23"
async-trait = "0.1.84"
url = "2.5.4"
octocrab = "0.43.0"
indoc = "2.0.5"
tavily = "2.0.3"
regex = "1.11.1"
clap = { version = "4.5.26", features = ["derive"] }
tera = "1.20.0"
lazy_static = "1.5.0"
rust-embed = { version = "8.5.0", features = ["debug-embed"] }
ratatui-splash-screen = "0.1.4"
reqwest = { version = "0.12.12", features = [
"rustls-tls",
"charset",
"http2",
"macos-system-configuration",
], default-features = false }
redb = { version = "2.3.0" }
lancedb = { version = "0.15.0", default-features = false, features = [
"rustls-tls",
] }
num_cpus = "1.16.0"
htmd = "0.1.6"
ansi-to-tui = "7.0.0"
tempfile = { version = "3.16.0" }
copypasta = "0.10.1"
strip-ansi-escapes = "0.2.1"
inquire = "0.7.5"
config = { version = "0.15.6", features = ["toml", "convert-case"] }
# Something is still pulling in libssl, this is a quickfix and should be investigated
[target.'cfg(linux)'.dependencies]
openssl-sys = { version = "0.9.104", features = ["vendored"] }
[dev-dependencies]
test-log = { version = "0.2.16", features = ["trace"] }
insta = "1.42.1"
assert_cmd = "2.0.16"
predicates = "3.1.3"
swiftide-core = { version = "0.18.0", features = ["test-utils"] }
mockall = "0.13.1"
rexpect = "0.6.0"
[lints.rust]
unsafe_code = "forbid"
unexpected_cfgs = { level = "warn", check-cfg = [
'cfg(coverage,coverage_nightly)',
] }
[lints.clippy]
cargo = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
# blocks_in_conditions = "allow"
# must_use_candidate = "allow"
module_name_repetitions = "allow"
# missing_fields_in_debug = "allow"
# # Should be fixed asap
multiple_crate_versions = "allow"
# Prefer to keep this explicit as it avoids accidental moves
needless_borrow = "allow"
missing_errors_doc = "allow"
[features]
default = ["otel"]
"otel" = [
"dep:tracing-opentelemetry",
"dep:opentelemetry_sdk",
"dep:opentelemetry",
"dep:opentelemetry-otlp",
]
[patch.crates-io]
# swiftide = { path = "../swiftide/swiftide" }
# swiftide-macros = { path = "../swiftide/swiftide-macros" }
# swiftide-core = { path = "../swiftide/swiftide-core" }
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
[profile.profiling]
inherits = "release"
debug = true