-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
144 lines (117 loc) · 3.21 KB
/
Cargo.toml
File metadata and controls
144 lines (117 loc) · 3.21 KB
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
[workspace]
resolver = "2"
members = [
".",
"crates/agentic-codebase-cli",
"crates/agentic-codebase-mcp",
"crates/agentic-codebase-ffi",
]
exclude = ["npm/wasm"]
[workspace.dependencies]
agentic-sdk = { version = "0.2.0", path = "../agentic-sdk" }
[workspace.package]
version = "0.3.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/agentralabs/agentic-codebase"
homepage = "https://agentralabs.tech"
authors = ["Agentra Labs <contact@agentralabs.tech>"]
[package]
default-run = "acb"
name = "agentic-codebase"
version = "0.3.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/agentralabs/agentic-codebase"
homepage = "https://agentralabs.tech"
documentation = "https://docs.rs/agentic-codebase"
authors = ["Agentra Labs <contact@agentralabs.tech>"]
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/", "npm/wasm"]
[lib]
name = "agentic_codebase"
path = "src/lib.rs"
crate-type = ["lib", "cdylib", "staticlib"]
# CLI binary
[[bin]]
name = "acb"
path = "src/bin/acb.rs"
# MCP server binary
[[bin]]
name = "agentic-codebase-mcp"
path = "src/bin/agentic-codebase-mcp.rs"
[dependencies]
# SDK (shared sister traits)
agentic-sdk = { workspace = true }
# Parsing - tree-sitter ecosystem
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"
tree-sitter-cpp = "0.21"
tree-sitter-java = "0.21"
tree-sitter-c-sharp = "0.21"
# Compression
lz4_flex = "0.11"
# Error handling
thiserror = "2"
# Logging / diagnostics
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# CLI
clap = { version = "4", features = ["derive"] }
clap_complete = "4"
rustyline = "14"
# Serialization (for CLI/MCP JSON output, NOT for .acb format)
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Memory mapping
memmap2 = "0.9"
# Timestamp
chrono = { version = "0.4", default-features = false, features = ["std", "clock", "serde"] }
# File system traversal
walkdir = "2"
ignore = "0.4"
# Hashing
blake3 = "1"
sha2 = "0.10"
# Git integration (for temporal analysis)
gix = { version = "0.63", default-features = false, features = ["basic", "blob-diff"] }
# Configuration
toml = "0.8"
# HTTP server for SSE transport (optional)
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"
serde_json = "1"
[[bench]]
name = "benchmarks"
harness = false
[[bench]]
name = "mcp_bench"
harness = false
[[bench]]
name = "core_bench"
harness = false
[[bench]]
name = "stress_bench"
harness = false
[profile.release]
lto = true
codegen-units = 1
strip = true