build: optimize release build
use fat lto, strip builds and only 1 codegen-unit
This commit is contained in:
parent
87edb9dd12
commit
7eea0cd4fe
1 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,11 @@ name = "backend"
|
|||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[profile.release]
|
||||
strip = true
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4.10"
|
||||
argon2 = { version = "0.5.3", features = ["std"] }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue