From 06deb9cf0823dab2ba596b90d9ee07f56ea33074 Mon Sep 17 00:00:00 2001 From: Rahul Date: Sun, 5 May 2024 15:41:02 +0530 Subject: [PATCH] Added packaging profile for release builds --- Cargo.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index a279fc8d5..ba33866f3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,3 +52,14 @@ members = ["data", "irc", "irc/proto"] [patch.crates-io] iced = { git = "https://github.com/iced-rs/iced", rev = "a05b8044a9a82c1802d4d97f1723e24b9d9dad9c" } iced_core = { git = "https://github.com/iced-rs/iced", rev = "a05b8044a9a82c1802d4d97f1723e24b9d9dad9c" } + +[profile.packaging] +opt-level = 3 +debug = false +lto = "fat" +strip = "debuginfo" +panic = 'unwind' +incremental = false +codegen-units = 1 +rpath = false +inherits = "release"