-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
35 lines (33 loc) · 843 Bytes
/
Cargo.toml
File metadata and controls
35 lines (33 loc) · 843 Bytes
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
[workspace]
resolver = "2"
members = [
"apps/main-server",
"apps/tauri-app/src-tauri",
"apps/worker-server",
"crates/entities",
"crates/rpc_protocol",
"crates/task_store",
"crates/auth",
"crates/secrets",
"crates/git_ops",
"crates/coding_agents",
"crates/config",
"crates/plan_parser",
"crates/worker_impl",
]
# Release profile optimizations
[profile.release]
# Enable Link-Time Optimization for smaller binaries
lto = true
# Use single codegen unit for better optimization
codegen-units = 1
# Strip symbols from the binary
strip = true
# Optimize for size with good performance
opt-level = "z"
# Profile for generating debug symbols (used for Sentry upload before stripping)
[profile.release-with-debug]
inherits = "release"
# Keep debug info for symbol upload
strip = false
debug = true