[package]
name = "cgx-cli"
version = "0.5.3"
edition = "2021"
description = "CLI for cgx — turn any Git repository into a queryable knowledge graph"
readme = "README.md"
license = "MIT"
repository = "https://github.com/AayushBahukhandi/cgx"
homepage = "https://aayushbahukhandi.github.io/cgx/"
documentation = "https://docs.rs/cgx-cli"
keywords = ["codebase", "knowledge-graph", "static-analysis", "git", "ast"]
categories = ["development-tools", "command-line-utilities", "visualization"]
include = ["src/**", "web-ui-dist/**", "Cargo.toml", "README.md"]

[[bin]]
name = "cgx"
path = "src/main.rs"

[dependencies]
cgx-engine = { path = "../cgx-engine", version = "0.5.3" }
cgx-mcp = { path = "../cgx-mcp", version = "0.5.3" }
clap = { version = "4", features = ["derive", "env"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
anyhow = "1"
chrono = "0.4"
tracing = "0.1"
indicatif = "0.17"
console = "0.15"
ratatui = "0.26"
crossterm = "0.27"
rust-embed = { version = "8", features = ["mime-guess"] }
mime_guess = "2"
fdg-sim = "0.9"
axum = "0.7"
tower-http = { version = "0.5", features = ["fs", "cors"] }
open = "5"
git2 = { version = "0.18", features = ["vendored-openssl"] }
tokio = { version = "1", features = ["full"] }
async-stream = "0.3"
tokio-util = { version = "0.7", features = ["io"] }
futures = "0.3"
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "rustls-tls"] }
walkdir = "2"
dirs = "5"
sha2 = "0.10"
notify = "6"
