-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
executable file
·149 lines (125 loc) · 3.55 KB
/
Cargo.toml
File metadata and controls
executable file
·149 lines (125 loc) · 3.55 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
[package]
name = "cortex-gui"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
description = "Cortex GUI - AI-Powered Development Environment"
[lib]
name = "cortex_gui_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2.5", features = [] }
[dependencies]
# Tauri core
tauri = { version = "2.9", features = ["macos-private-api", "unstable"] }
tauri-plugin-shell = "2.3"
tauri-plugin-dialog = "2.4"
tauri-plugin-clipboard-manager = "2.3"
tauri-plugin-process = "2.3"
tauri-plugin-os = "2.3"
tauri-plugin-notification = "2.3"
# Workspace dependencies - Cortex crates
cortex-engine = { path = "../../cortex-engine" }
cortex-protocol = { path = "../../cortex-protocol" }
cortex-common = { path = "../../cortex-common" }
cortex-storage = { path = "../../cortex-storage" }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
rmp-serde = "1"
serde_bytes = "0.11"
# Async runtime
tokio = { version = "1", features = ["full"] }
async-channel = "2"
futures = "0.3"
# Error handling
anyhow = "1"
thiserror = "1"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Utilities
open = "5"
ssh2 = "0.9"
uuid = { version = "1", features = ["v4"] }
once_cell = "1"
dirs = "5"
parking_lot = "0.12"
sysinfo = { version = "0.32", default-features = false, features = ["system"] }
chrono = { version = "0.4", features = ["serde"] }
# Async-only HTTP client - blocking feature removed to prevent sync blocking in async context
reqwest = { version = "0.12", features = ["json", "stream"] }
glob = "0.3"
walkdir = "2"
regex = "1"
rand = "0.8"
portable-pty = "0.8"
notify = { version = "6", default-features = false, features = ["macos_kqueue"] }
base64 = "0.22"
trash = "5"
rayon = "1.10"
lru = "0.12"
dashmap = "6"
# URL encoding
urlencoding = "2.1"
url = "2"
# AI/LLM dependencies
async-trait = "0.1"
tokio-stream = "0.1"
eventsource-stream = "0.2"
async-openai = "0.23"
# Data storage
rusqlite = { version = "0.32", features = ["bundled"] }
# Git operations
git2 = "0.19"
# VSIX extraction
zip = "0.6"
# File encoding
encoding_rs = "0.8"
chardetng = "0.1"
# Unix utilities
libc = "0.2"
# MCP support
interprocess = { version = "2.2", features = ["tokio"] }
enigo = "0.3"
image = "0.24"
# Note: plist and wry are provided by tauri and don't need direct dependencies
# Security - credential encryption
keyring = { version = "3", default-features = false, features = ["windows-native", "apple-native", "linux-native"] }
secrecy = { version = "0.10", features = ["serde"] }
aes-gcm = "0.10"
argon2 = "0.5"
zeroize = { version = "1.8", features = ["derive"] }
[target.'cfg(target_os = "windows")'.dependencies]
win-screenshot = "4.0"
window-vibrancy = "0.5"
windows-sys = { version = "0.59", features = [
"Win32_Foundation",
"Win32_System_Threading",
"Win32_Security",
"Win32_Security_Authorization",
"Win32_Security_Cryptography",
"Win32_Storage_FileSystem",
"Win32_NetworkManagement_NetManagement",
"Win32_System_Memory",
] }
[target.'cfg(target_os = "macos")'.dependencies]
xcap = "0.0.4"
window-vibrancy = "0.5"
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
tauri-plugin-single-instance = "2.3"
tauri-plugin-updater = "2.3"
tauri-plugin-deep-link = "2.3"
[features]
default = ["custom-protocol"]
custom-protocol = ["tauri/custom-protocol"]
[profile.release]
lto = true
codegen-units = 1
strip = true
panic = "abort"
[lints]
workspace = true