From 4537c48f0b6f2cc82fae1772a1f9e9af55ec279b Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Thu, 09 Mar 2023 11:11:36 +0000 Subject: [PATCH] ci: add production profile --- --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,14 @@ resolver = "2" [profile.release] -panic = 'unwind' +# Runtime requires unwinding +panic = "unwind" + +[profile.production] +inherits = "release" +lto = true +codegen-units = 1 +opt-level = "3" [workspace.dependencies] # Unique -- gitstuff