feat: Make the executable little small
Signed-off-by: Awiteb <a@4rs.nl> Reviewed-by: Amjad Alsharafi <me@amjad.alsharafi.dev>
This commit is contained in:
parent
f5ffa3733e
commit
4590d8b2af
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue