-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
120 lines (93 loc) · 2.55 KB
/
Copy pathCargo.toml
File metadata and controls
120 lines (93 loc) · 2.55 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
[workspace]
members = ["."]
[package]
name = "lain"
version = "0.5.0"
edition = "2021"
description = "Lain - Structural code intelligence for AI agents"
authors = ["spuentesp"]
license = "MIT"
[dependencies]
# Core async runtime
tokio = { version = "1.35", features = ["full"] }
# MCP Server (Model Context Protocol)
rust-mcp-sdk = { version = "=1.0.1", default-features = false, features = ["server", "stdio", "macros"] }
rust-mcp-schema = { version = "=0.10.3", default-features = false, features = ["2025_11_25", "schema_utils"] }
# HTTP server for diagnostics UI
hyper = { version = "1.9", features = ["http1", "server"] }
hyper-util = { version = "0.1", features = ["tokio"] }
http-body = "1.0"
http-body-util = "0.1"
# Async trait for MCP server handlers
async-trait = "0.1"
# Git integration
git2 = "0.19"
# File watching
notify = "6"
# In-memory graph for volatile overlay
petgraph = { version = "0.6", features = ["serde-1"] }
# Persistence
bincode = "1.3"
# NLP & Machine Learning
ort = { version = "2.0.0-rc.9", features = ["ndarray"] }
tokenizers = "0.21"
# LSP bridge for multi-language support
lsp-bridge = "0.2"
lsp-types = "0.97"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
hex = "0.4"
# Hashing
blake3 = "1"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Error handling
thiserror = "1.0"
anyhow = "1.0"
# CLI argument parsing
clap = { version = "4.4", features = ["derive"] }
# Path handling
walkdir = "2.4"
glob = "0.3"
dunce = "1.0"
# Tree-sitter static analysis
uuid = { version = "1.6", features = ["v4", "v5", "serde"] }
# Regex for pattern matching
regex = "1.10"
ignore = "0.4"
serde_yaml = "0.9"
toml = "0.8"
# Once cell for static initialization
once_cell = "1.19"
inventory = "0.1"
# Directory management
dirs = "5.0"
parking_lot = "0.12.5"
which = "8.0.2"
# Concurrency primitives
dashmap = "6.0"
rayon = "1.10"
async-recursion = "1.1.1"
reqwest = { version = "0.11", features = ["json", "rustls-tls", "blocking"] }
# Tree-sitter static analysis
tree-sitter = "0.22"
tree-sitter-rust = "0.21"
tree-sitter-python = "0.21"
tree-sitter-javascript = "0.21"
[dev-dependencies]
tempfile = "3.8"
proptest = { version = "1.5", features = ["std"] }
inventory = "0.1"
[lib]
name = "lain"
path = "src/lib.rs"
[features]
# No features defined yet. (The `test-utils` feature was removed in
# the docs/dead-code sweep — the only thing it gated was a
# `PetgraphBackend::db()` helper that no test actually used.)
[profile.release]
opt-level = 3
lto = true
codegen-units = 1