-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
80 lines (67 loc) · 2.23 KB
/
Copy pathCargo.toml
File metadata and controls
80 lines (67 loc) · 2.23 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
[workspace]
resolver = "2"
members = [
".",
"crates/witness-rs",
"crates/gestalt",
"crates/ui",
]
[workspace.dependencies]
prism-core = { path = "../prism/core" }
terni = { path = "../prism/imperfect" }
mirror = { path = "../mirror" }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
[package]
name = "spectral"
version = "0.2.0"
edition = "2021"
description = "git for graphs. One binary. Five operations. Everything settles."
[lib]
name = "spectral"
path = "src/lib.rs"
[[bin]]
name = "spectral"
path = "src/main.rs"
[features]
default = []
sel = ["dep:rustyline", "dep:colored", "dep:reqwest", "dep:tokio", "dep:ractor", "dep:fate", "dep:spectral-db", "dep:tower-lsp", "dep:dashmap", "dep:ratatui", "dep:crossterm", "dep:image", "dep:spectral-ui"]
[dependencies]
mirror = { path = "../mirror" }
prism = { package = "prism-core", path = "../prism/core" }
gestalt = { path = "crates/gestalt" }
clap = { version = "4", features = ["derive"] }
serde_json = "1"
serde = { version = "1", features = ["derive"] }
terni = { path = "../prism/imperfect" }
git2 = "0.19"
# sel-gated dependencies
rustyline = { version = "14", optional = true }
colored = { version = "2", optional = true }
reqwest = { version = "0.12", features = ["json"], optional = true }
tokio = { version = "1", features = ["full"], optional = true }
fate = { path = "../fate", optional = true }
ractor = { version = "0.15", features = ["async-trait"], optional = true }
# sel-gated — MCP / LSP / memory server
tower-lsp = { version = "0.20", optional = true }
dashmap = { version = "6", optional = true }
spectral-db = { path = "../spectral-db", optional = true }
# sel-gated — TUI (spectral join)
ratatui = { version = "0.29", optional = true }
crossterm = { version = "0.28", optional = true }
image = { version = "0.25", optional = true }
spectral-ui = { path = "crates/ui", optional = true }
# Temporarily disabled — pending further integration
# lens = { path = "../lens" }
# conversation = { path = "../conversation" }
[dev-dependencies]
tempfile = "3"
spectral-db = { path = "../spectral-db", features = ["test-support"] }
divan = "0.1"
[[bench]]
name = "spectral_init"
harness = false
[[bench]]
name = "hook_latency"
harness = false
required-features = ["sel"]