From e11f88ace744600cfe99d2d74981dd0b3c5f5c78 Mon Sep 17 00:00:00 2001 From: Sergey Melnychuk Date: Mon, 14 Oct 2024 06:39:17 +0300 Subject: [PATCH] chore(bin): enable LTO for the release build --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 2f25c599..6b865b0b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,9 @@ default = ["rpc"] rpc = ["dep:axum"] testing = [] +[profile.release] +lto = true + [dependencies] serde = { version = "1.0", features = ["derive"] } serde_json = "1.0"