From 1dda8a5faef9cf8fc7e7b3433ebe35dd962c42bd Mon Sep 17 00:00:00 2001 From: brotoskyj Date: Tue, 24 Dec 2024 13:11:00 -0500 Subject: [PATCH] Optimize Build --- Cargo.toml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index a085f32..f78741e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,4 +12,14 @@ slint = "1.6.0" [build-dependencies] slint-build = "1.6" -winresource = "0.1.17" \ No newline at end of file +winresource = "0.1.17" + +[profile.release] +opt-level = "z" +lto = "fat" +debug = false +codegen-units = 1 +panic = 'abort' +strip = true +debug-assertions = false +overflow-checks = false \ No newline at end of file