From 0849df7f661332b8b112479e64edc80dce523337 Mon Sep 17 00:00:00 2001 From: frectonz Date: Thu, 13 Jun 2024 10:27:49 +0300 Subject: [PATCH] chore: binary size optimizations --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index efedee9..8d87b95 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,3 +17,9 @@ tokio = { version = "1.38.0", features = ["full"] } tracing = "0.1.40" tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } warp = "0.3.7" + +[profile.release] +strip = true +opt-level = "z" +lto = true +codegen-units = 1