[package]
name = "vtcode-core"
version = "0.9.2"
edition = "2024"
authors = ["vinhnx <vinhnx@users.noreply.github.com>"]
description = "Core library for VTCode - a Rust-based terminal coding agent"
license = "MIT"
readme = "../README.md"
homepage = "https://github.com/vinhnx/vtcode"
repository = "https://github.com/vinhnx/vtcode"
keywords = ["ai", "coding", "agent", "llm", "rust"]
categories = ["development-tools", "api-bindings"]
[dependencies]
anyhow = "1.0"
clap = { version = "4.5", features = ["derive"] }
reqwest = { version = "0.12", features = ["json", "rustls-tls", "stream"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.8"
tokio = { version = "1.37", features = [
"fs",
"io-util",
"macros",
"rt-multi-thread",
"sync",
"process",
] }
tokio-stream = { version = "0.1", features = ["io-util"] }
futures = "0.3"
walkdir = "2.5"
glob = "0.3"
thiserror = "1.0"
console = "0.15"
dialoguer = "0.11"
colored = "2.1"
termimad = "0.34"
regex = "1.10"
shell-words = "1.1"
tree-sitter = "0.23"
tree-sitter-rust = "0.23"
tree-sitter-python = "0.23"
tree-sitter-javascript = "0.23"
tree-sitter-typescript = "0.23"
tree-sitter-go = "0.23"
tree-sitter-java = "0.23"
flate2 = "1.0"
indexmap = { version = "2.2", features = ["serde"] }
itertools = "0.13"
pathdiff = "0.2"
tempfile = "3.0"
rayon = "1.8"
lru = "0.12"
dashmap = "5.5"
once_cell = "1.19"
lazy_static = "1.4"
parking_lot = "0.12"
sha2 = "0.10"
chrono = { version = "0.4", features = [
"serde",
] }
aes-gcm = "0.10"
humantime = "2.1"
argon2 = "0.5"
rand = "0.8"
terminal_size = "0.4.3"
is-terminal = "0.4.16"
async-trait = "0.1.89"
indicatif = "0.17"
dotenvy = "0.15"
dirs = "5.0"
serde_yaml = "0.9"
tracing = "0.1"
anstyle = "1.0"
anstyle-query = "1.0"
anstream = "0.6"
anstyle-git = "1.0"
anstyle-ls = "1.0"
anstyle-syntect = "1.0"
colorchoice-clap = "1.0"
quick_cache = "0.6"
roff = "0.2"
syntect = "5.2"
[[example]]
name = "anstyle_test"
path = "examples/anstyle_test.rs"
[[example]]
name = "dialoguer_example"
path = "examples/dialoguer_example.rs"
[[example]]
name = "migration_test"
path = "examples/migration_test.rs"
[features]
default = []
swift = ["tree-sitter-swift"]
[dependencies.tree-sitter-swift]
version = "0.7.1"
optional = true