From 235c0548f5d065b52fd691db028b39cf4333cc58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jind=C5=99ich=20B=C3=A4r?= Date: Wed, 26 Aug 2026 12:08:41 +0200 Subject: [PATCH] perf: optimize release builds for speed instead of size --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 655d00da..d8ee6645 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,6 +15,6 @@ hyper-util = { git = "https://github.com/apify/hyper-util", rev="9b7795dfd7158fc [profile.release] strip = true # Automatically strip symbols from the binary. -opt-level = "z" # Optimize for size. +opt-level = 3 lto = true codegen-units = 1