From fd8897ce1d0b04c1020aad56d79d6e45e3fea378 Mon Sep 17 00:00:00 2001
From: lidar <97009593+lidarbtc@users.noreply.github.com>
Date: Sun, 11 Aug 2024 11:59:57 +0900
Subject: [PATCH] Add release profile optimiztion

---
 Cargo.toml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Cargo.toml b/Cargo.toml
index c1b1034be..79cd76031 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -7,7 +7,9 @@ version = "0.1.0"
 edition = "2021"
 
 [profile.release]
+strip = true
 lto = true
+codegen-units = 1
 
 [workspace.dependencies]
 tokio = { version = "1.39.2", features = ["net", "macros", "rt-multi-thread", "fs", "io-util"] }