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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
[]
= "vtcode"
= "0.106.0"
= "2024"
= "1.88"
= ["Vinh Nguyen <vinhnguyen2308@gmail.com>"]
= "A Rust-based terminal coding agent with modular architecture supporting multiple LLM providers"
= "MIT"
= "README.md"
= "https://github.com/vinhnx/vtcode"
= "https://github.com/vinhnx/vtcode"
= "https://docs.rs/vtcode"
= ["ai", "coding", "agent", "llm", "cli"]
= ["command-line-utilities", "development-tools", "api-bindings"]
= [
"target/",
".github/",
"docs/**",
"!docs/config/CONFIG_FIELD_REFERENCE.md",
"scripts/",
"screenshots/",
"logs/",
"prompts/",
"dist/",
"npm/",
"vtcode-core/embedded_assets_source/",
"resources/",
]
= "vtcode"
[]
= "allow"
= "allow"
= "allow"
= "allow"
= "allow"
= "allow"
[]
= "allow"
# Override sections to consolidate duplicate dependencies
[]
= "0.22.1"
= "0.29"
= "1.2"
= "2.0.18"
= "0.2.0"
= "1.0"
= "3.27"
= { = "1.52", = ["full"] }
= "1.0"
= { = "1.0", = ["derive"] }
= "1.12"
= "1.16"
= { = "4.6", = ["derive"] }
= "0.2"
= "0.10"
= "1.0"
= "0.4"
= { = "0.17", = ["serde"] }
= "2.1"
= "1"
= "0.9"
= "0.1"
= { = "0.4", = ["serde"] }
= { = "0.12", = false, = ["json", "rustls-tls", "stream"] }
= "1.1"
= "0.3"
= "1.21"
= { = "2.13", = ["serde"] }
= "0.1.89"
= "1.0"
= { = "0.30", = false, = ["crossterm"] }
= "1.0.6"
= "0.11"
= "1.1"
= "0.7"
= "0.3"
= "0.8"
= "0.0.25"
= "3.4"
= "0.15"
= "6.0"
= "4.0"
= "1.0"
= "1.1"
= "0.12.0"
= "2.5"
= "0.14.0"
= "2.7"
= "2.5"
= { = "=0.10.4", = ["unstable_auth_methods"] }
= "1.23.1"
= "0.4"
= "0.17"
[]
= "0.106.0"
= "2024"
= "MIT"
= "https://github.com/vinhnx/vtcode"
= "https://github.com/vinhnx/vtcode"
= "https://docs.rs/vtcode"
[]
= "2"
= [
"vtcode-auth",
"vtcode-acp",
"vtcode-collaboration-tool-specs",
"vtcode-core",
"vtcode-utility-tool-specs",
"vtcode-terminal-detection",
"vtcode-ghostty-vt-sys",
"vtcode-theme",
"vtcode-tui",
"vtcode-vim",
"vtcode-commons",
"vtcode-config",
"vtcode-llm",
"vtcode-lmstudio",
"vtcode-markdown-store",
"vtcode-indexer",
"vtcode-tools",
"vtcode-bash-runner",
"vtcode-exec-events",
"vtcode-file-search",
]
= [".", "vtcode-core", "vtcode-tui"]
= ["zed-extension", "vtcode-process-hardening"]
[]
= { = "vtcode-commons" }
= { = "vtcode-markdown-store" }
= { = "vtcode-indexer" }
= { = "vtcode-bash-runner" }
= { = "vtcode-exec-events" }
= { = "vtcode-file-search" }
= { = "vtcode-ghostty-vt-sys" }
[]
# Rust compiler lints
= { = "warn", = ['cfg(tarpaulin)'] }
= "warn"
= "warn"
= "warn"
= "allow" # Too verbose for development
= "warn"
= "warn"
= "warn"
[]
# Don't Panic - prevent panics from unwraps and unsafe slicing or indexing
# Note: string_slice and indexing_slicing are phased in; high-noise on existing codebase.
= "allow" # TODO: Phase in after cleanup pass
= "allow" # TODO: Phase in after cleanup pass
= "allow"
= "allow"
= "warn"
= "warn"
= "warn"
= "warn"
= "allow"
= "warn"
= "allow"
# Don't Fail Silently - prevent dropped futures and swallowed errors
= "warn"
= "allow" # TODO: Audit intentional drops (mostly safe write! calls & cleanup)
= "allow"
= "warn"
= "allow"
# Don't Do Bad Async Stuff - prevent deadlocks and concurrency bugs
= "warn"
= "warn"
= "warn"
= "warn"
# Don't Do Unsafe Things with Memory
= "warn"
= "warn"
= "warn"
= "warn"
= "warn"
# Don't Do Potentially Incorrect Things with Numbers
= "warn"
= "warn"
= "warn"
= "warn"
= "warn"
# Don't Do Bad Things That are Easy to Avoid
= "warn"
= "warn"
= "warn"
= "warn"
= "warn"
= "warn"
# Don't `allow` Your Way Around These Lints
# Note: These require manual curation of all existing suppressions.
= "allow" # TODO: Phase in after suppression audit
= "allow" # TODO: Phase in after suppression audit
[]
= { = "vtcode-acp", = "0.106.0" }
= { = "vtcode-commons", = "0.106.0" }
= { = "vtcode-config", = "0.106.0" }
= { = "vtcode-auth", = "0.106.0" }
= { = "vtcode-core", = "0.106.0", = false }
= { = "vtcode-terminal-detection", = "0.106.0" }
= { = "vtcode-tui", = "0.106.0" }
= { = true }
= { = true }
= { = true }
= { = true }
= "1.0"
= "6.1.1" # For file watching functionality
= { = true, = ["compat"] }
= { = true }
= { = true }
= { = true }
= { = true }
= { = true }
= { = true }
= { = true }
= { = true }
= { = true } # For timestamp handling in CLI
= { = true }
= { = true, = ["env-filter"] }
= { = true }
= "0.3"
# Home directory detection
= { = true }
# Hashing for large output file paths
= { = true }
# ANSI styling
= { = true }
= "1.0"
= { = true }
= { = true }
= { = true }
= { = true }
= { = true }
= { = true }
= { = true }
= { = true }
= { = true }
= "1.13"
= { = "0.43", = false, = ["archive-tar", "compression-flate2", "rustls", "reqwest"] }
= { = true }
= { = true }
= { = true }
= { = "0.8" }
= { = true }
[]
= ["tool-chat", "a2a-server", "desktop-notifications"]
= []
= [] # Enable tracing instrumentation for performance profiling
= ["vtcode-core/anthropic-api"]
= ["vtcode-core/a2a-server"] # Enable OAuth callback server for provider authentication
= ["vtcode-core/desktop-notifications"]
[]
= 0
= false
# incremental = false required for sccache; set CARGO_INCREMENTAL=1 to override for rapid iteration
= false
= 0
# Split debuginfo for faster incremental builds (when CARGO_INCREMENTAL=1)
= "unpacked"
[]
= "dev"
# Optimize build dependencies for faster proc-macro execution
[]
= 3
= 16
# Optimize dependencies slightly (they're cached anyway)
[]
= 1
= false
[]
= "dev"
= "thin"
= 1
= 2
# Fast release profile - thin LTO for ~50% faster builds than full LTO
[]
= "release"
= "thin"
= 4
[]
= 1 # Allows compiler to perform better optimization.
= true # Enables Link-time Optimization for better performance and size reduction.
= 3 # Optimize for performance on M4 (was "s" for size)
= true # Ensures debug symbols are removed.
= "abort" # Reduce size of panic paths.
# Additional performance optimizations:
= false # Disable incremental compilation for better optimization
# CI-specific profile for faster builds with minimal debug info
[]
= "dev"
# Copy settings from dev profile but with minimal debug info
= 0
= false
= false
[]
# Optimize benchmarks for accurate performance measurement
= 1
= true
= 3
= false
= false
# Profile for bloaty analysis - optimized but with debug info
[]
= "release"
= true
= false
[[]]
= "vtcode"
= "src/main.rs"
[]
= { = true }
= { = true }
= { = true }
= "0.9"
= { = true }
= "2.1"
= "3.1"
= "1.39"
= { = true }
= { = true }
[]
= ["anstyle-crossterm"]
[]
# Ignore known unmaintained packages (add packages as needed)
# Example: ignore = ["some-crate"]
= []
[]
= true
= "x86_64-unknown-linux-gnu"
= ["--cfg", "docsrs"]