From 7cd5d058e4df9f2621d7feb4d0b2d0905a55553c Mon Sep 17 00:00:00 2001 From: electria Date: Sat, 21 Nov 2026 17:33:34 -0800 Subject: [PATCH] build: use profiles from template --- Cargo.toml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index a67fc13..e6e7741 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,3 +13,19 @@ rfd = "0.17.2" [dependencies.iced] version = "0.14.0" + +[profile.debug] +debug = true +strip = "none" +debug-assertions = true +overflow-checks = true + +[profile.dev] +debug = false +debug-assertions = false +overflow-checks = false + +[profile.release] +codegen-units = 1 +lto = "fat" +strip = "symbols"