From 6d44817eabfbb5aff494cbba8d1858ecb1a8fa76 Mon Sep 17 00:00:00 2001 From: cool-mist Date: Thu, 26 Dec 2024 00:12:35 +0530 Subject: [PATCH] Reduce binary size --- Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index ba9b5f4..b8eae45 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,3 +5,10 @@ edition = "2021" [dependencies] argh = "0.1.12" + +[profile.release] +opt-level = 's' +lto = true +codegen-units = 1 +panic = 'abort' +strip = true