From f7d1420a076fd2a25a6091a993b6642f6aeb7b48 Mon Sep 17 00:00:00 2001 From: Alexander Zaitsev Date: Tue, 24 Dec 2024 19:17:17 +0300 Subject: [PATCH] feat: enable LTO - enable Link-Time Optimization (LTO) --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index deaebc5..d5da206 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,3 +35,6 @@ tokio-stream = { version = "0.1.16", features = ["io-util"] } toml = "0.8.19" tracing = "0.1.40" tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } + +[profile.release] +lto = true