From bd8badac2317997f6220d90be57148a00af7f66e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Sun, 22 Dec 2024 00:39:35 +0100 Subject: [PATCH] fix(webnsupdate): reduce binary size There is no need to compile for speed of execution, this is not a contested component. --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index c2308b8..d3ffd44 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,6 +35,12 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] } [dev-dependencies] insta = "1" +[profile.release] +opt-level = "s" +panic = "abort" +lto = true +strip = true + [profile.dev] debug = 0 codegen-backend = "cranelift"