From af70581f91902798306e51bea95baafb3b0b5141 Mon Sep 17 00:00:00 2001 From: DioCrafts Date: Wed, 26 Mar 2025 11:04:07 +0100 Subject: [PATCH] adding LTO to gain efficient --- Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index ca68f5bc..d70ae2e0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,3 +43,10 @@ hyper = { version = "1.2.0", features = ["full"] } default = [] test_utils = ["mockall"] +[profile.release] +lto = "thin" +codegen-units = 1 +opt-level = 3 +panic = "abort" +strip = true +