From 8f03a727427bda5a1bfaf8c2969f651b9d021745 Mon Sep 17 00:00:00 2001 From: Luni-4 Date: Fri, 20 May 2022 10:34:25 +0200 Subject: Add custom profile release-opt --- Cargo.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 9d90ca0d..56b4d06a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -121,3 +121,13 @@ iced_wgpu = { version = "0.5", path = "wgpu", features = ["webgl"], optional = t [package.metadata.docs.rs] rustdoc-args = ["--cfg", "docsrs"] features = ["image", "svg", "canvas", "qr_code", "pure"] + +[profile.release-opt] +inherits = "release" +codegen-units = 1 +debug = false +lto = true +incremental = false +opt-level = 3 +overflow-checks = false +strip = "debuginfo" -- cgit