-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
107 lines (85 loc) · 2.56 KB
/
Cargo.toml
File metadata and controls
107 lines (85 loc) · 2.56 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
[workspace]
members = [
"crates/calciforge",
"crates/mcp-server",
"crates/paste-server",
"crates/adversary-detector",
"crates/security-proxy",
"crates/host-agent",
"crates/secrets-client",
"crates/clashd",
"crates/loom-tests",
]
# loom-tests requires RUSTFLAGS='--cfg loom' — exclude from default cargo test
default-members = [
"crates/calciforge",
"crates/mcp-server",
"crates/paste-server",
"crates/adversary-detector",
"crates/security-proxy",
"crates/host-agent",
"crates/secrets-client",
"crates/clashd",
]
resolver = "2"
[workspace.dependencies]
# External agent dependencies
zeroclawlabs = { package = "zeroclawlabs", git = "https://github.com/bglusman/zeroclaw", branch = "calciforge-interactive" }
zeroclaw-api = { git = "https://github.com/bglusman/zeroclaw", branch = "calciforge-interactive" }
zeroclaw-channels = { git = "https://github.com/bglusman/zeroclaw", branch = "calciforge-interactive" }
zeroclaw-config = { git = "https://github.com/bglusman/zeroclaw", branch = "calciforge-interactive" }
clash = "0.6.2"
claw-code = { git = "https://github.com/instructkr/claw-code" }
# Async runtime
tokio = { version = "1", features = ["full"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Error handling
anyhow = "1"
thiserror = "2"
# Logging / tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt", "ansi"] }
# HTTP client
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
# Async traits
async-trait = "0.1"
# Regex
regex = "1"
# IronClaw safety (leak detection, credential injection detection)
ironclaw_safety = { git = "https://github.com/nearai/ironclaw", rev = "1e00b1f" }
# Date/time
chrono = { version = "0.4", features = ["serde"] }
# Base64
base64 = "0.22"
# UUID
uuid = { version = "1", features = ["v4", "std"] }
# Testing (workspace-wide)
proptest = "1.5"
mockito = "1.5"
# Shared workspace crates
adversary-detector = { path = "crates/adversary-detector" }
security-proxy = { path = "crates/security-proxy" }
[profile.release]
opt-level = "z"
lto = "fat"
codegen-units = 1
strip = true
panic = "abort"
[profile.release-fast]
inherits = "release"
codegen-units = 8
[profile.dist]
inherits = "release"
opt-level = "z"
lto = "fat"
codegen-units = 1
strip = true
panic = "abort"
[profile.docker]
inherits = "release"
lto = false
codegen-units = 16
[patch.crates-io]
# matrix-sdk = { git = "https://github.com/upstream-fork/matrix-rust-sdk" } # temporarily disabled for local builds