From 39f677e089348be3f010a785a186784698a77530 Mon Sep 17 00:00:00 2001 From: b1n Date: Mon, 24 Jun 2024 23:13:08 +0800 Subject: [PATCH] chore: update release profile --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 99fcb43..2a076a6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,3 +30,9 @@ git = "https://github.com/iced-rs/iced" rev = "6c1027af8d54ad21e282337b53097eb196d62c00" default-features = false features = ["advanced", "svg", "tokio", "wgpu"] + +[profile.release] +strip = true +opt-level = "z" +lto = true +codegen-units = 1