Skip to content

Commit d011e0e

Browse files
committed
Chore: Rust Shear cleanup
1 parent a7bab4d commit d011e0e

File tree

21 files changed

+61
-336
lines changed

21 files changed

+61
-336
lines changed

Cargo.lock

Lines changed: 5 additions & 218 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ members = [
1818
"crates/core-rag-mcp-server",
1919
"tests/integration"
2020
]
21-
exclude = ["scripts"]
21+
exclude = ["scripts", "vendor/rmcp", "vendor/semchunk-rs"]
2222
default-members = [
2323
"crates/codegraph-core"
2424
]

crates/codegraph-ai/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ anyhow = { workspace = true }
1818
serde = { workspace = true, features = ["derive"] }
1919
serde_json = { workspace = true }
2020
tracing = { workspace = true }
21-
dashmap = { workspace = true }
2221
parking_lot = { workspace = true }
2322
uuid = { workspace = true }
2423
chrono = { workspace = true }
2524
futures = { workspace = true }
26-
similar = { workspace = true }
2725
arc-swap = { workspace = true }
2826
num_cpus = { workspace = true }
2927
prometheus = { workspace = true }

crates/codegraph-api/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ tower-http = { workspace = true, features = ["compression-br", "compression-gzip
2020
hyper = { workspace = true }
2121
http = { workspace = true }
2222
tokio = { workspace = true }
23-
tokio-util = { workspace = true }
2423
reqwest = { workspace = true }
2524
url = { workspace = true }
2625
parking_lot = { workspace = true }
@@ -50,7 +49,6 @@ toml = { workspace = true }
5049

5150
# GraphQL
5251
async-graphql = { workspace = true, features = ["chrono", "dataloader"] }
53-
async-graphql-axum = { workspace = true }
5452
async-stream = "0.3.6"
5553
# Streaming responses for large datasets
5654
axum-streams = { version = "0.23.1", features = ["json", "csv", "text"] }

crates/codegraph-cache/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,10 @@ ndarray = { workspace = true }
1313
serde = { workspace = true }
1414
serde_json = { workspace = true }
1515
bincode = { workspace = true }
16-
thiserror = { workspace = true }
17-
anyhow = { workspace = true }
1816
tracing = { workspace = true }
1917
async-trait = { workspace = true }
2018
tokio = { workspace = true }
2119
parking_lot = { workspace = true }
22-
uuid = { workspace = true }
2320
backtrace = { workspace = true }
2421
memmap2 = { workspace = true, optional = true }
2522
flate2 = { workspace = true, optional = true }
@@ -38,7 +35,6 @@ tower-http = { workspace = true, features = ["cors", "fs"] }
3835
http = { workspace = true }
3936
tower = { workspace = true }
4037
tokio-tungstenite = { workspace = true }
41-
url = { workspace = true }
4238
zstd = { workspace = true }
4339
lz4_flex = { workspace = true }
4440
fastrand = { workspace = true }

crates/codegraph-cli/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ clap = { version = "4.5", features = ["derive", "env"] }
2424
# Colored terminal output
2525
colored = "2.1"
2626

27-
# Table formatting
28-
tabled = "0.16"
29-
3027
# Local crates
3128
codegraph-core = { path = "../codegraph-core" }
3229
codegraph-api = { path = "../codegraph-api" }
33-
codegraph-graph = { path = "../codegraph-graph" }

crates/codegraph-concurrent/Cargo.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,8 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
anyhow = { workspace = true }
87
thiserror = { workspace = true }
9-
serde = { workspace = true, features = ["derive"] }
10-
tracing = { workspace = true }
118
uuid = { workspace = true }
12-
chrono = { workspace = true }
139
crossbeam-utils = { workspace = true }
1410
crossbeam-queue = { workspace = true }
1511
crossbeam-skiplist = { workspace = true }
@@ -20,7 +16,6 @@ async-trait = { workspace = true }
2016

2117
[dev-dependencies]
2218
tokio = { workspace = true }
23-
tokio-test = { workspace = true }
2419
loom = "0.7"
2520

2621
[features]

crates/codegraph-core/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ clap = { workspace = true }
3636
colored = { workspace = true }
3737
indicatif = { workspace = true }
3838
once_cell = { workspace = true }
39-
tikv-jemalloc-ctl = { workspace = true }
4039
tikv-jemallocator = { workspace = true }
4140
hashbrown = { workspace = true }
4241
rustc-hash = { workspace = true }
@@ -51,9 +50,6 @@ bytes = { workspace = true }
5150
# Optional arena allocator and zero-copy archiving
5251
bumpalo = "3.15"
5352
rkyv = { version = "0.7.45", features = ["validation"] }
54-
bytecheck = "0.8"
55-
faiss.workspace = true
56-
semchunk-rs = "0.1.1"
5753

5854
[target.'cfg(unix)'.dependencies]
5955
libc = "0.2"

crates/codegraph-git/Cargo.toml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,11 @@ description = "Git repository integration for CodeGraph using libgit2 and notify
1010
git2 = { workspace = true }
1111
notify = { workspace = true }
1212
serde = { workspace = true }
13-
serde_json = { workspace = true }
1413
thiserror = { workspace = true }
15-
anyhow = { workspace = true }
16-
tracing = { workspace = true }
17-
tokio = { workspace = true }
18-
async-trait = { workspace = true }
19-
parking_lot = { workspace = true }
20-
dashmap = { workspace = true }
21-
uuid = { workspace = true }
22-
chrono = { workspace = true }
23-
24-
# Optional, useful for history analysis
25-
rayon = { workspace = true }
26-
crossbeam-channel = { workspace = true }
27-
28-
# Internal deps
29-
codegraph-core = { workspace = true }
3014

3115
[features]
3216
default = ["watch"]
3317
watch = []
3418

3519
[dev-dependencies]
3620
tempfile = { workspace = true }
37-
tokio-test = { workspace = true }

crates/codegraph-graph/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ rocksdb = { workspace = true, features = ["zstd"] }
1414
serde = { workspace = true }
1515
serde_json = { workspace = true }
1616
bincode = { workspace = true }
17-
thiserror = { workspace = true }
1817
anyhow = { workspace = true }
1918
tracing = { workspace = true }
2019
async-trait = { workspace = true }

0 commit comments

Comments
 (0)