From eb3c45bf91928ce8d1bd99c9829affb62baf2a77 Mon Sep 17 00:00:00 2001 From: Candifloss Date: Tue, 16 Dec 2025 21:41:54 +0530 Subject: [PATCH] Reduce binary size --- Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 6de276e..d479dde 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,3 +10,10 @@ image = { version = "0.25.9", default-features = false, features = ["png", "jpeg pico-args = "0.5.0" toml = "0.9.8" x11rb = { version = "0.13.2", default-features = false } + +[profile.release] +lto = "thin" +codegen-units = 1 +strip = "symbols" +opt-level = "z" +panic = "abort" \ No newline at end of file