Files
Modrinth-plus/Cargo.toml

23 lines
602 B
TOML
Raw Normal View History

2024-07-03 11:05:58 -07:00
[workspace]
resolver = '2'
members = [
2024-07-04 21:46:29 -07:00
'./packages/app-lib',
'./apps/app-playground',
2024-10-16 15:57:44 -07:00
'./apps/app',
'./apps/labrinth'
2024-07-03 11:05:58 -07:00
]
2024-07-03 13:25:49 -07:00
# Optimize for speed and reduce size on release builds
2024-07-03 11:05:58 -07:00
[profile.release]
2024-07-03 13:25:49 -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
[profile.dev.package.sqlx-macros]
opt-level = 3
[patch.crates-io]
wry = { git = "https://github.com/modrinth/wry", rev = "27fb16b" }