From a413f29ad46b0a2a079b0d7b409bc50740f17a48 Mon Sep 17 00:00:00 2001 From: LingMan Date: Fri, 26 Aug 2022 14:07:42 +0200 Subject: [PATCH] Strip debuginfo and enable thinlto in release mode. --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 61a1116..e604ae6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,6 +9,10 @@ readme = "README.md" license = "MIT" edition = "2018" +[profile.release] +strip = "debuginfo" +lto = "thin" + [dependencies] json = "0.12" memmap2 = "0.5"