From 7d0745ad984d6f20b04afad899f399747ab89519 Mon Sep 17 00:00:00 2001 From: Greg Burri Date: Wed, 19 Jun 2024 15:57:57 +0200 Subject: [PATCH] activate lto for release build --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 5d6e904..bd438a9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,3 +29,8 @@ askama_axum = "0.4" shared_child = "1" rsevents = "0.3" + + +[profile.release] +codegen-units = 1 +lto = true -- 2.45.2