[package]
default-run = "acb"
name = "agentic-codebase"
version = "0.1.3"
edition = "2021"
license = "MIT"
repository = "https://github.com/agentralabs/codebase"
homepage = "https://agentralabs.tech"
documentation = "https://docs.rs/agentic-codebase"
authors = ["Omoshola Owolabi"]
description = "Semantic code compiler for AI agents - transforms codebases into navigable concept graphs"
readme = "README.md"
keywords = ["ai", "agents", "code-analysis", "semantic-graph", "mcp"]
categories = ["development-tools", "parsing"]
exclude = [".DS_Store", "planning-docs/", "target/"]
[lib]
name = "agentic_codebase"
path = "src/lib.rs"
crate-type = ["lib", "cdylib", "staticlib"]
[[bin]]
name = "acb"
path = "src/bin/acb.rs"
[[bin]]
name = "acb-mcp"
path = "src/bin/acb-mcp.rs"
[dependencies]
tree-sitter = "0.22"
tree-sitter-python = "0.21"
tree-sitter-rust = "0.21"
tree-sitter-typescript = "0.21"
tree-sitter-javascript = "0.21"
tree-sitter-go = "0.21"
lz4_flex = "0.11"
thiserror = "2"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
clap = { version = "4", features = ["derive"] }
clap_complete = "4"
rustyline = "14"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
memmap2 = "0.9"
chrono = { version = "0.4", default-features = false, features = ["std", "clock"] }
walkdir = "2"
ignore = "0.4"
blake3 = "1"
gix = { version = "0.63", default-features = false, features = ["basic", "blob-diff"] }
toml = "0.8"
axum = { version = "0.7", optional = true }
tower = { version = "0.4", optional = true }
tower-http = { version = "0.5", features = ["cors"], optional = true }
tokio = { version = "1", features = ["full"], optional = true }
[features]
default = ["stdio"]
stdio = []
sse = ["axum", "tower", "tower-http", "tokio"]
all-transports = ["stdio", "sse"]
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
tempfile = "3"
rand = "0.8"
[[bench]]
name = "benchmarks"
harness = false
[profile.release]
lto = true
codegen-units = 1
strip = true