* Subpackage common -> ariadne * add common * Remove build * only build labrinth * common * set sqlx offline * copy dirs * Fix build
26 lines
686 B
TOML
26 lines
686 B
TOML
[workspace]
|
|
resolver = '2'
|
|
members = [
|
|
'./packages/app-lib',
|
|
'./apps/app-playground',
|
|
'./apps/app',
|
|
'./apps/labrinth',
|
|
'./apps/daedalus_client',
|
|
'./packages/daedalus',
|
|
'./packages/ariadne',
|
|
]
|
|
|
|
# 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
|
|
|
|
[profile.dev.package.sqlx-macros]
|
|
opt-level = 3
|
|
|
|
[patch.crates-io]
|
|
wry = { git = "https://github.com/modrinth/wry", rev = "51907c6" }
|