From 9fc0eae90ae8872870dfe2ec5eaf8262b3c03bef Mon Sep 17 00:00:00 2001 From: Ilya Zlobintsev Date: Sat, 2 Mar 2024 11:58:20 +0200 Subject: [PATCH] chore: set opt-level and lto for smaller binary size --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 566d7cd..771eba5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,3 +23,5 @@ nix = { version = "0.27.1", default-features = false } [profile.release] strip = "symbols" +opt-level = "s" +lto = true