From e91ce2a3398c37369f8554a4c19d99acf04949ea Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Tue, 17 Jan 2023 01:29:51 +0200 Subject: [PATCH] feat: optimize release build from 30M to 11M --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 164a86c..57d0e61 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,3 +22,7 @@ package = "iced_native" version = "0.8.0" default-features = false features = [] + +[profile.release] +strip = true +lto = true -- 2.44.1