1
0

optimize release build

This commit is contained in:
Rokas Puzonas 2023-01-29 23:49:49 +02:00
parent 3442e591b5
commit 0602d668bc
2 changed files with 8 additions and 1 deletions

View File

@ -3,7 +3,12 @@ name = "ktu-timetable"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.release]
opt-level = 'z' # Optimize for size
lto = true # Enable link-time optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations
panic = 'abort' # Abort on panic
strip = true # Strip symbols from binary*
[dependencies]
egui = "0.20.1"

2
README.md Normal file
View File

@ -0,0 +1,2 @@
# KTU Timetable