2021-06-29 22:32:52 -07:00
|
|
|
[workspace]
|
|
|
|
|
|
|
|
|
|
members = [
|
|
|
|
|
"theseus",
|
2022-02-21 21:01:45 -08:00
|
|
|
"theseus_cli",
|
2023-03-31 11:00:43 -07:00
|
|
|
"theseus_playground",
|
2023-05-18 10:31:52 -07:00
|
|
|
"theseus_gui/src-tauri",
|
|
|
|
|
"theseus_macros"
|
2022-03-06 10:55:51 -08:00
|
|
|
]
|
2023-03-24 11:59:18 -07:00
|
|
|
|
2023-05-23 11:14:22 -07:00
|
|
|
[profile.dev]
|
|
|
|
|
opt-level = 0
|
|
|
|
|
debug = true
|
|
|
|
|
debug-assertions = true
|
|
|
|
|
overflow-checks = true
|
|
|
|
|
lto = false
|
|
|
|
|
panic = 'unwind'
|
|
|
|
|
incremental = true
|
|
|
|
|
codegen-units = 256
|
|
|
|
|
rpath = false
|
|
|
|
|
|
2023-03-24 11:59:18 -07:00
|
|
|
# Optimize for speed and reduce size on release builds
|
|
|
|
|
[profile.release]
|
2023-05-23 11:14:22 -07:00
|
|
|
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
|