From 3339895c2295e8eaa366a1121c8fdfe0457f93c8 Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Sat, 18 Mar 2023 16:21:07 +0100 Subject: [PATCH] Optimize release target --- Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 1687f16..73c8846 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,3 +16,10 @@ serde = { version = "1.0.156", features = ["derive"] } serde_json = "1.0.94" tokio = { version = "1.26.0", features = [ "full" ] } tokio-util = { version = "0.7.7", features = [ "codec" ] } + +[profile.release] +split-debuginfo = "packed" +strip = "symbols" +lto = "fat" +panic = "abort" +codegen-units = 1