-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
186 lines (178 loc) · 6.46 KB
/
Copy pathCargo.toml
File metadata and controls
186 lines (178 loc) · 6.46 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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
[workspace]
resolver = "2"
exclude = ["examples/hooks/wasm-plugin", "vendor/*", "vendor/dex-loop"]
members = [
"packages/maestro-rs",
"packages/runtime-rs",
"packages/runtime-contracts-rs",
"packages/coding-acceptance-rs",
"packages/context-rs",
"packages/scenario-rs",
"packages/session-history-rs",
"packages/session-rs",
"packages/ai-rs",
"packages/runtime-gateway-rs",
"packages/a2a-ledger-rs",
"packages/execpolicy-rs",
"packages/tui-rs",
"packages/local-host-rs",
"packages/sandbox-rs",
"packages/workspace-rs",
"packages/codex-rs",
"packages/swarm-rs",
"packages/ui-rs",
"packages/presentation-rs",
"packages/ui-preview-rs",
"packages/interaction-rs",
"packages/ambient-agent-rs",
"packages/dex-host-rs",
]
[workspace.dependencies]
textwrap = "0.16"
anyhow = "1"
http = "1.4"
aws-config = { version = "1.10.1", default-features = false, features = [
"behavior-version-latest",
"credentials-process",
"default-https-client",
"rt-tokio",
"sso",
] }
aws-credential-types = "1.3.0"
aws-sdk-bedrockruntime = { version = "1.139.0", default-features = false, features = [
"behavior-version-latest",
"default-https-client",
"rt-tokio",
] }
aws-smithy-types = "1.6.1"
aws-types = "1.5.0"
base64 = "0.23"
chrono = "0.4"
clap = { version = "4", features = ["derive"] }
ctor = "1.0.11"
crossterm = "0.29"
dirs = "7"
dunce = "1"
eventsource-stream = "0.2"
fd-lock = "4"
futures = "0.3"
glob = "0.3"
# CIDR types for the structured sandbox network policy (MIT OR Apache-2.0).
ipnet = "2.11"
libc = "0.2"
opentelemetry = { version = "0.32", default-features = false, features = ["trace"] }
opentelemetry-otlp = { version = "0.32", default-features = false, features = ["trace", "http-proto", "reqwest-blocking-client", "reqwest-rustls"] }
opentelemetry_sdk = { version = "0.32", default-features = false, features = ["trace", "rt-tokio"] }
maestro-ai = { path = "packages/ai-rs", default-features = false }
maestro-a2a-ledger = { path = "packages/a2a-ledger-rs" }
maestro-runtime-gateway = { path = "packages/runtime-gateway-rs" }
maestro-execpolicy = { path = "packages/execpolicy-rs" }
maestro-runtime = { path = "packages/runtime-rs" }
maestro-runtime-contracts = { path = "packages/runtime-contracts-rs" }
maestro-coding-acceptance = { path = "packages/coding-acceptance-rs" }
maestro-context = { path = "packages/context-rs" }
maestro-session-history = { path = "packages/session-history-rs" }
maestro-session = { path = "packages/session-rs" }
maestro-tui = { path = "packages/tui-rs" }
maestro-local-host = { path = "packages/local-host-rs" }
maestro-sandbox = { path = "packages/sandbox-rs" }
maestro-workspace = { path = "packages/workspace-rs" }
maestro-codex = { path = "packages/codex-rs" }
maestro-swarm = { path = "packages/swarm-rs" }
maestro-ui = { path = "packages/ui-rs" }
maestro-presentation = { path = "packages/presentation-rs" }
unicode-width = "0.2"
maestro-interaction = { path = "packages/interaction-rs" }
maestro-dex-host = { path = "packages/dex-host-rs" }
ratatui = { version = "0.30.2", default-features = false }
# Shared by maestro-tui and maestro-runtime-gateway; keep both crates on the
# same version here so a security bump (e.g. the lopdf RUSTSEC-2026-0187
# fix) can't land in one crate's Cargo.toml and silently miss the other.
pdf-extract = "0.12"
portable-pty = "0.9"
prost = "0.14"
prost-types = "0.14"
regex = "1"
rusqlite = { version = "0.32", features = ["bundled"] }
reqwest = { version = "0.12", default-features = false }
rcgen = { version = "0.14", features = ["x509-parser"] }
rustls = { version = "0.23", default-features = false, features = ["ring", "std"] }
ring = "0.17"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
sha2 = "0.10"
similar = "3"
rayon = "1.10"
rand = "0.10"
thiserror = "2"
zeroize = "1"
tempfile = "3"
time = "0.3"
tokio = { version = "1" }
tokio-util = "0.7"
tokio-stream = "0.1"
tokio-rustls = "0.26"
uuid = { version = "1", features = ["v4", "v7", "serde"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
tracing-opentelemetry = "0.33"
wait-timeout = "0.2"
windows-sys = "0.61"
x509-parser = "0.18"
zip = { version = "8", default-features = false, features = ["aes-crypto", "deflate64", "deflate", "lzma", "ppmd", "time", "zstd", "xz"] }
tree-sitter = "0.26"
tree-sitter-bash = "0.25.1"
# Keep the canonical release profile deliberately optimized for shipped
# artifacts. PR validation uses fast-validation below so its compile path does
# not pay the distribution optimizer's serial codegen cost.
[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"
panic = "abort"
# Fast native validation profile. This retains release-mode code generation,
# stripping, and panic behavior for a representative smoke binary while
# disabling the expensive whole-program optimization pass and allowing Cargo
# to parallelize code generation across units.
[profile.fast-validation]
inherits = "release"
lto = false
codegen-units = 16
# Optional distribution profile for workflows that need debug sidecars
# (adopted from grok-build). Active release and container paths intentionally
# use `release`, which remains the optimized stripped shipping profile.
# Thin LTO and codegen-units = 1 match `release`'s whole-program optimization;
# debug = 1
# emits line-table DWARF and strip = false keeps symbols so CI can extract
# debug sidecars (.debug on Linux, .dSYM on macOS) before stripping
# post-build. Alpha/beta and stable promotion can reuse the same
# release-dist binary — promotion is a re-tag, not a rebuild.
[profile.release-dist]
inherits = "release"
lto = "thin"
codegen-units = 1
strip = false
debug = 1
# Line tables preserve useful backtraces without the multi-gigabyte full debug
# information duplicated by the former independent Cargo roots. incremental
# (already Cargo's dev default, spelled out explicitly) and a capped
# codegen-unit count keep the edit-build cycle fast.
[profile.dev]
debug = "line-tables-only"
incremental = true
codegen-units = 128
[profile.test]
debug = "line-tables-only"
# magic-trace needs symbols and frame pointers. Build with:
# RUSTFLAGS="-C force-frame-pointers=yes" cargo build --profile magic-trace -p maestro-tui
[profile.magic-trace]
inherits = "release"
debug = true
strip = false
lto = false
codegen-units = 16
[patch.crates-io]
zstd = { path = "vendor/zstd-0.13.3" }
zstd-safe = { path = "vendor/zstd-safe-7.2.4" }
zstd-sys = { path = "vendor/zstd-sys-2.0.16+zstd.1.5.7" }