Add release optimizations
This commit is contained in:
parent
6419b6357c
commit
6d01857bd0
1 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,11 @@ edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
strip = true
|
||||||
|
lto = true
|
||||||
|
codegen-units = 1
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
actix-web = "4"
|
actix-web = "4"
|
||||||
actix-cors = "0.6.1"
|
actix-cors = "0.6.1"
|
||||||
|
|
Loading…
Add table
Reference in a new issue