28 lines
654 B
TOML
28 lines
654 B
TOML
[workspace]
|
|
resolver = '2'
|
|
members = [
|
|
'./packages/app-lib',
|
|
'./packages/app-macros',
|
|
'./apps/app-playground',
|
|
'./apps/app/src-tauri'
|
|
]
|
|
|
|
[profile.dev]
|
|
opt-level = 0
|
|
debug = true
|
|
debug-assertions = true
|
|
overflow-checks = true
|
|
lto = false
|
|
panic = 'unwind'
|
|
incremental = true
|
|
codegen-units = 256
|
|
rpath = false
|
|
|
|
# Optimize for speed and reduce size on release builds
|
|
[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
|