-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
43 lines (37 loc) · 1.21 KB
/
Cargo.toml
File metadata and controls
43 lines (37 loc) · 1.21 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
[workspace]
resolver = "2"
members = ["crates/*", "terraphim_server", "terraphim_firecracker"]
exclude = [
"crates/terraphim_agent_application", # Experimental crate with incomplete API implementations
"desktop/src-tauri" # Temporarily excluded due to webkit2gtk conflict with GPUI
]
default-members = ["terraphim_server"]
[workspace.package]
edition = "2024"
[workspace.dependencies]
# OpenRouter AI integration dependencies
tokio = { version = "1.0", features = ["full"] }
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
# Direct HTTP LLM client approach (removed rig-core)
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
uuid = { version = "1.0", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
async-trait = "0.1"
thiserror = "1.0"
anyhow = "1.0"
log = "0.4"
[patch.crates-io]
genai = { git = "https://github.com/terraphim/rust-genai.git", branch = "merge-upstream-20251103" }
[profile.release]
panic = "unwind"
lto = false
codegen-units = 1
opt-level = 3
# Optimized release profile for production builds (like ripgrep)
[profile.release-lto]
inherits = "release"
lto = true
codegen-units = 1
opt-level = 3
panic = "abort"