Added some binary size optimizations to the release build profile.

This commit is contained in:
Daniel Mowitz 2023-08-24 17:16:01 +02:00
parent 84667e348b
commit b44e94d312

View file

@ -17,3 +17,7 @@ tokio = "1"
chrono = "0.4" chrono = "0.4"
async-std = "1.12" 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.