From 9e6a5f67ffc8e6b805e612c81c8aeb13f127ac05 Mon Sep 17 00:00:00 2001 From: Denis Nutiu Date: Sat, 14 Dec 2024 22:56:07 +0200 Subject: [PATCH] enable lto and codegen-units optimizations --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 4e31099..2f85dc5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,10 @@ edition = "2021" [lints.rust] dead_code = "allow" +[profile.release] +lto = true +codegen-units = 1 + [dependencies] log = "0.4.22" env_logger = "0.11.5"