From 5aaf02f06261ef2f008c32f1afc1a42e0c582b5b Mon Sep 17 00:00:00 2001 From: uku Date: Tue, 20 May 2025 18:10:21 +0200 Subject: [PATCH] chore: make output binary smaller --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index b648ad0..b439f02 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,3 +19,9 @@ toml = "0.8.22" tracing = "0.1.41" tracing-subscriber = { version = "0.3.19", features = ["env-filter"] } urlencoding = "2.1.3" + +[profile.release] +opt-level = "z" +lto = "thin" +strip = true +panic = "abort"