From b6ccc0a3ef801752293e3f30af81fe63f3a47d04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dennis=20H=C3=A4gg?= Date: Wed, 17 Jun 2026 08:31:43 +0200 Subject: [PATCH] build: optimize for build size --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 42cf0e4..837043b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,3 +19,9 @@ urlencoding = "2.1" [build-dependencies] serde_json = "1.0" + +[profile.release] +opt-level = "z" +lto = true +strip = true +codegen-units = 1