-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
91 lines (75 loc) · 2.35 KB
/
Cargo.toml
File metadata and controls
91 lines (75 loc) · 2.35 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
[package]
name = "cortex-cli"
version.workspace = true
edition.workspace = true
license.workspace = true
description = "Cortex CLI - Modern AI coding agent"
[[bin]]
name = "Cortex"
path = "src/main.rs"
[lib]
name = "cortex_cli"
path = "src/lib.rs"
[lints]
workspace = true
[features]
default = ["cortex-tui"]
# Use the new Cortex TUI (120 FPS, Cortex theme)
cortex-tui = ["dep:cortex-tui"]
# Enable HTTP transport for MCP server
mcp-http = ["cortex-mcp-server/http"]
[dependencies]
cortex-engine = { workspace = true }
cortex-protocol = { workspace = true }
cortex-tui = { workspace = true, optional = true }
cortex-exec = { workspace = true }
cortex-common = { workspace = true, features = ["cli"] }
cortex-commands = { workspace = true }
cortex-login = { workspace = true }
cortex-process-hardening = { workspace = true }
cortex-app-server = { workspace = true }
cortex-update = { workspace = true }
cortex-mcp-server = { workspace = true }
cortex-share = { path = "../cortex-share" }
clap = { workspace = true }
clap_complete = { workspace = true }
clap_mangen = { workspace = true }
# For colored help output
color-print = "0.3"
tokio = { workspace = true, features = ["full"] }
anyhow = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true, features = ["env-filter"] }
tracing-appender = { workspace = true }
dirs = { workspace = true }
serde_json = { workspace = true }
chrono = { workspace = true }
uuid = { workspace = true }
toml = { workspace = true }
toml_edit = { workspace = true }
serde_yaml = "0.9"
serde = { workspace = true }
ctor = "0.5"
base64 = { workspace = true }
# For upgrade command (HTTP requests)
reqwest = { workspace = true, features = ["json", "cookies"] }
# For upgrade command (archive extraction)
zip = { workspace = true }
flate2 = "1.0"
tar = "0.4"
# For scrape command (HTML parsing and URL handling)
scraper = "0.22"
url = "2.5"
# For agent reference extraction from messages
regex = { workspace = true }
# For mDNS service discovery
hostname = { workspace = true }
# For finding binary location in PATH
which = { workspace = true }
# For Ctrl+C handling and terminal cleanup
ctrlc = { version = "3.4", features = ["termination"] }
# For file descriptor limit checking
libc = { workspace = true }
# For SIGTERM signal handling on Unix (graceful container shutdown)
[target.'cfg(unix)'.dependencies]
signal-hook = "0.3"