-
-
Notifications
You must be signed in to change notification settings - Fork 548
Expand file tree
/
Copy pathCargo.toml
More file actions
19 lines (17 loc) · 745 Bytes
/
Copy pathCargo.toml
File metadata and controls
19 lines (17 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[workspace]
members = ["desktop/src-tauri", "crates/meeting-detect"]
# server/ is its own workspace: the engine optimises for speed, the app for size.
exclude = ["server"]
resolver = "2"
[workspace.dependencies]
eyre = { git = "https://github.com/thewh1teagle/eyre", branch = "feat/report-serialize-backtrace", features = [
"serialize",
] }
serde_json = "1.0"
# https://v1.tauri.app/v1/guides/building/app-size/#rust-build-time-optimizations
[profile.release]
panic = "abort" # Strip expensive panic clean-up logic
codegen-units = 1 # Compile crates one after another so the compiler can optimize better
lto = true # Enables link to optimizations
opt-level = "s" # Optimize for binary size
strip = true # Remove debug symbols