-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
125 lines (98 loc) · 2.77 KB
/
Copy pathCargo.toml
File metadata and controls
125 lines (98 loc) · 2.77 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
[package]
name = "vectorcode"
version = "0.1.0"
edition = "2021"
rust-version = "1.75"
license = "MIT"
description = "Semantic code search MCP server using embeddings"
[[bin]]
name = "vectorcode"
path = "src/main.rs"
[dependencies]
# CLI
clap = { version = "4", features = ["derive"] }
# Async runtime
tokio = { version = "1", features = ["full"] }
# SQLite
rusqlite = { version = "0.32", features = ["bundled", "vtab"] }
sqlite-vec = "0.1.6"
# Tree-sitter
tree-sitter = "0.25"
tree-sitter-typescript = "0.23"
tree-sitter-javascript = "0.23"
tree-sitter-python = "0.23"
tree-sitter-rust = "0.23"
tree-sitter-go = "0.23"
tree-sitter-java = "0.23"
tree-sitter-c-sharp = "0.23"
tree-sitter-c = "0.24"
tree-sitter-cpp = "0.23"
tree-sitter-ruby = "0.23"
tree-sitter-swift = "0.7"
tree-sitter-kotlin-ng = "1.1"
# ONNX Runtime
ort = { version = "2.0.0-rc.12", features = ["download-binaries"] }
# Tokenizer (for ONNX provider)
tokenizers = { version = "0.20", features = ["http"] }
# HTTP client (for API providers)
reqwest = { version = "0.12", features = ["json", "rustls-tls"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Config
toml = "0.8"
# File watching
notify = "7"
notify-debouncer-full = "0.4"
# .gitignore support
ignore = "0.4"
# Hashing
blake3 = "1"
# Regex (for query classifier)
regex = "1"
# Error handling
anyhow = "1"
thiserror = "2"
chrono = { version = "0.4.45", default-features = false, features = ["clock", "std"] }
bytemuck = { version = "1.16", features = ["derive"] }
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Progress bars
indicatif = "0.17"
# Async trait
async-trait = "0.1"
# MCP SDK
rmcp = { version = "0.8.1", features = ["server", "transport-io"] }
rmcp-macros = "0.8"
schemars = { version = "1.2", features = ["derive"] }
url = "2"
# Self-update
self-replace = "1"
semver = "1"
tar = "0.4"
flate2 = "1"
tempfile = "3"
# Platform directories (config paths)
dirs = "5"
# SHA256 checksum verification
sha2 = "0.10"
# Force vendored OpenSSL to avoid system dependency (needed for cross-compilation)
openssl = { version = "0.10", features = ["vendored"] }
secrecy = "0.8"
# Platform FFI for getrusage (peak RSS measurement in bench)
libc = "0.2"
# LanceDB — feature-gated optional backend for the phase-3 store evaluation.
# Heavy dep tree (lance + datafusion + arrow + object_store + moka) — default
# build MUST NOT pull this. Enable with `--features lancedb-store`.
lancedb = { version = "0.30", optional = true }
[features]
# Default: sqlite-vec only. Fast build, no LanceDB.
default = []
# Opt-in: add the LanceDB backend (LanceStore) for the store evaluation harness.
lancedb-store = ["dep:lancedb"]
[dev-dependencies]
assert_cmd = "2"
predicates = "3"
serial_test = "3"
http = "1"