feat: Make the executable little small
All checks were successful
Write changelog / write-changelog (push) Successful in 10s
Rust CI / Rust CI (pull_request) Successful in 6m52s
Rust CI / Rust CI (push) Successful in 7m5s

Signed-off-by: Awiteb <a@4rs.nl>
Reviewed-by: Amjad Alsharafi <me@amjad.alsharafi.dev>
This commit is contained in:
Awiteb 2024-07-07 16:34:47 +03:00
parent f5ffa3733e
commit 4590d8b2af
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F

View file

@ -27,4 +27,8 @@ salvo_core = { version = "0.68.3", default-features = false, features = ["rustls
salvo-oapi = { version = "0.68.3", default-features = false, features = ["rapidoc","redoc","scalar","swagger-ui"] }
[profile.release]
strip = true # Automatically strip symbols from the binary.
strip = true
panic = "abort"
codegen-units = 1
lto = true