From 8463e72f2dff73e0b625ee8d43684d034a0ad258 Mon Sep 17 00:00:00 2001 From: sreedev Date: Thu, 10 Aug 2023 12:59:07 -0400 Subject: [PATCH] removed debug information from distrbution & release profiles to reduce binary size --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 1e537db..3e15ccc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,5 +32,8 @@ unicode-segmentation = "1.10.0" # generated by 'cargo dist init' [profile.dist] inherits = "release" -debug = true +debug = false split-debuginfo = "packed" + +[profile.release] +strip = true