From 0f921e978e36fd5af4fa050447ffe86968023abf Mon Sep 17 00:00:00 2001 From: Love Billenius Date: Wed, 17 Dec 2025 11:29:55 +0100 Subject: [PATCH] enable LTO --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index c5fe290..40173fc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,6 +16,10 @@ repository = "https://github.com/lov3b/ecb-rates" rust-version = "1.83" categories = ["finance", "command-line-utilities"] +[profile.release] +codegen-units = 1 +lto = true + [[bin]] name = "ecb-rates" path = "src/main.rs"