From adc26fbe0a1aea0036ba3af85c5be6d8adb71f3d Mon Sep 17 00:00:00 2001 From: Alexander Zaitsev Date: Tue, 24 Dec 2024 17:22:04 +0100 Subject: [PATCH] Enable Link-Time Optimization (LTO) (#99) Resolves https://github.com/s2-streamstore/s2-cli/issues/98 --- 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