Added some binary size optimizations to the release build profile.
This commit is contained in:
parent
84667e348b
commit
b44e94d312
1 changed files with 4 additions and 0 deletions
|
@ -17,3 +17,7 @@ tokio = "1"
|
|||
chrono = "0.4"
|
||||
async-std = "1.12"
|
||||
|
||||
[profile.release]
|
||||
strip = true # Automatically strip symbols from the binary.
|
||||
lto = true # Enable link-time-optimizations, which might reduce dead code and provide smaller binaries.
|
||||
panic = "abort" # Don't include unwinding code for realease builds, panics just abort execution.
|
Loading…
Reference in a new issue