Improve release profile
This commit is contained in:
parent
44ae0b38aa
commit
7150d75ce5
1 changed files with 7 additions and 0 deletions
|
|
@ -14,3 +14,10 @@ include = [
|
|||
[dependencies]
|
||||
actix-web = "4.5.0"
|
||||
chrono = "0.4.33"
|
||||
|
||||
[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*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue