From 4dd2537aa7a197c17b5dba2da154d6e4009fccdb Mon Sep 17 00:00:00 2001 From: Asmir Avdicevic Date: Mon, 18 Aug 2025 18:18:13 +0200 Subject: [PATCH] chore: bump release profile to reduce binary size --- Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index a190522..f921324 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,3 +32,11 @@ n0-snafu = "0.2.1" duct = "0.13.6" nix = { version = "0.29", features = ["signal", "process"] } tempfile = "3.8" + +[profile.release] +panic = "abort" +opt-level = "s" +codegen-units = 1 +lto = true +debug = "none" +strip = true \ No newline at end of file