From a5bedf4d874dd34a6211a933db9cd144ee9adb5e Mon Sep 17 00:00:00 2001 From: h7x4 Date: Sun, 4 Aug 2024 03:19:42 +0200 Subject: [PATCH] Cargo.toml: optimize release profile --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 1a29c73..8686ca6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,3 +17,8 @@ serde_json = "1.0.105" tokio = { version = "1.32.0", features = ["full"] } tower = { version = "0.4.13", features = ["full"] } tower-http = { version = "0.4.3", features = ["full"] } + +[profile.release] +strip = true +lto = true +codegen-units = 1