-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
114 lines (102 loc) · 3.95 KB
/
Cargo.toml
File metadata and controls
114 lines (102 loc) · 3.95 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
[package]
name = "devbase"
version = "0.20.1"
edition = "2024"
description = "Developer workspace database and knowledge-base manager"
authors = ["juice094 <160722440+juice094@users.noreply.github.com>"]
[[bench]]
name = "semantic_index"
harness = false
[[bench]]
name = "registry_bench"
harness = false
[features]
default = ["tui", "mcp", "lang-rust", "lang-python", "lang-js-ts", "lang-go"]
# embedding feature removed from default in v0.17.0.
# LLM inference (Candle/Ollama) is now opt-in via `llm-backend` feature.
# devbase stores and searches externally-generated embeddings only.
tui = ["ratatui", "crossterm", "watch"]
watch = ["notify"]
mcp = []
embedding = ["dep:devbase-embedding"]
lang-rust = ["dep:tree-sitter-rust"]
lang-python = ["dep:tree-sitter-python"]
lang-js-ts = ["dep:tree-sitter-typescript"]
lang-go = ["dep:tree-sitter-go"]
greptimedb = ["dep:greptimedb-ingester"]
[dependencies]
clap = { version = "4", features = ["derive"] }
git2 = "0.20"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "process", "io-util", "io-std", "sync"] }
serde = { version = "1", features = ["derive"] }
toml = "0.8"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
walkdir = "2"
anyhow = "1"
serde_json = "1"
reqwest = { version = "0.12", features = ["json", "blocking"] }
tantivy = "0.26"
dirs = "6"
chrono = { version = "0.4", features = ["serde"] }
rusqlite = { version = "0.34", features = ["bundled", "chrono", "functions"] }
r2d2 = "0.8"
r2d2_sqlite = "0.27.0"
blake3 = "1.5"
ratatui = { version = "0.30", optional = true }
crossterm = { version = "0.28", optional = true }
crossbeam-channel = "0.5"
rayon = "1"
notify = { version = "8.2.0", optional = true }
which = "7"
dunce = "1"
tokei = "14.0.0"
tree-sitter = "0.26"
tree-sitter-rust = { version = "0.24", optional = true }
tree-sitter-python = { version = "0.23", optional = true }
tree-sitter-typescript = { version = "0.23", optional = true }
tree-sitter-go = { version = "0.23", optional = true }
serde_yaml = "0.9"
regex = "1"
# Extracted crates (zero internal coupling)
devbase-symbol-links = { path = "crates/devbase-symbol-links" }
devbase-sync-protocol = { path = "crates/devbase-sync-protocol" }
devbase-core-types = { path = "crates/devbase-core-types" }
devbase-syncthing-client = { path = "crates/devbase-syncthing-client" }
devbase-vault-frontmatter = { path = "crates/devbase-vault-frontmatter" }
devbase-vault-wikilink = { path = "crates/devbase-vault-wikilink" }
devbase-workflow-interpolate = { path = "crates/devbase-workflow-interpolate" }
devbase-workflow-model = { path = "crates/devbase-workflow-model" }
devbase-registry-health = { path = "crates/devbase-registry-health" }
devbase-registry-metrics = { path = "crates/devbase-registry-metrics" }
devbase-registry-workspace = { path = "crates/devbase-registry-workspace" }
devbase-embedding = { path = "crates/devbase-embedding", optional = true }
devbase-skill-runtime-types = { path = "crates/devbase-skill-runtime-types" }
devbase-skill-runtime-parser = { path = "crates/devbase-skill-runtime-parser" }
devbase-registry-entity = { path = "crates/devbase-registry-entity" }
devbase-registry-relation = { path = "crates/devbase-registry-relation" }
devbase-registry-call-graph = { path = "crates/devbase-registry-call-graph" }
devbase-registry-dead-code = { path = "crates/devbase-registry-dead-code" }
devbase-registry-code-symbols = { path = "crates/devbase-registry-code-symbols" }
greptimedb-ingester = { version = "0.18", optional = true }
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
tempfile = "3"
assert_cmd = "2"
predicates = "3"
[profile.dev]
opt-level = 1
incremental = false
[profile.release]
lto = true
codegen-units = 1
strip = true
[workspace]
members = ["crates/*"]
resolver = "2"
[workspace.package]
version = "0.20.1"
authors = ["juice094 <160722440+juice094@users.noreply.github.com>"]
edition = "2024"
license = "AGPL-3.0-or-later"
repository = "https://github.com/juice094/devbase"