From 7bbfcc63df89eb234f0036a31267d97d92f6738f Mon Sep 17 00:00:00 2001 From: Nicolas Fernandez Date: Wed, 12 Jul 2023 11:05:45 +0200 Subject: [PATCH] Adding production profile --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 089e130e..e1ebc8d0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,11 @@ [profile.release] panic = 'unwind' +[profile.production] +inherits = "release" +lto = true +codegen-units = 1 + [workspace] members = [ 'node',