From 5e19c9146ae9b43557801a9f44039f47a0656e00 Mon Sep 17 00:00:00 2001 From: Mads Hougesen Date: Sat, 23 Dec 2023 23:22:58 +0100 Subject: [PATCH] build: enable lto for release builds --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index e24b83c..ede1268 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,3 +23,6 @@ hitt-request = { path = "hitt-request", version = "0.0.1" } http = { version = "0.2.11" } reqwest = { version = "0.11.23" } tokio = { version = "1.35.1", features = ["fs", "macros", "rt-multi-thread"] } + +[profile.release] +lto = true