-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
60 lines (55 loc) · 1.89 KB
/
Copy pathCargo.toml
File metadata and controls
60 lines (55 loc) · 1.89 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
[package]
authors.workspace = true
edition.workspace = true
license = "AGPL-3.0-or-later"
name = "ahma_tui"
readme.workspace = true
rust-version.workspace = true
version.workspace = true
description = "Terminal dashboard and chat interface for ahma."
[lib]
name = "ahma_tui"
path = "src/lib.rs"
[features]
# Gated as a feature to allow headless/CI builds to compile without heavy terminal UI dependencies (speeding up builds).
default = ["tui"]
# Full ratatui terminal UI (disable for headless/CI builds)
tui = ["dep:ratatui", "dep:crossterm", "dep:futures", "dep:tui-textarea"]
[dependencies]
ahma_common = { path = "../ahma_common" }
ahma_llm_monitor = { path = "../ahma_llm_monitor" }
ahma_mcp = { path = "../ahma_mcp" }
ahma_core = { path = "../ahma_core" }
anyhow.workspace = true
async-trait.workspace = true
chrono = { workspace = true }
crossterm = { workspace = true, optional = true }
dunce.workspace = true
futures = { workspace = true, optional = true }
ratatui = { workspace = true, optional = true }
reqwest = { workspace = true, features = ["json", "rustls", "stream"] }
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
rmcp = { workspace = true }
tokio = { workspace = true, features = [
"rt-multi-thread",
"macros",
"time",
"net",
"process",
] }
toml.workspace = true
tracing.workspace = true
tui-textarea = { workspace = true, optional = true }
uuid = { workspace = true, features = ["v4"] }
[target.'cfg(unix)'.dependencies]
# Process-group kill (`kill(-pgid)`) when cancelling a window command, so the
# shell's descendants are reaped rather than orphaned.
libc.workspace = true
[dev-dependencies]
ahma_http_bridge = { path = "../ahma_http_bridge" }
axum = { version = "0.8", features = ["tokio"] }
reqwest = { workspace = true }
serde_json.workspace = true
tempfile.workspace = true
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }