From af5136e78cde9854a83915ab5427cc8eb5943705 Mon Sep 17 00:00:00 2001 From: Mroik Date: Wed, 25 Jun 2025 01:47:43 +0200 Subject: Add flags for smaller binary size --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 49b2288..0992cd5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,3 +12,8 @@ rpgpie = "0.6.2" tar = "0.4.44" teloxide = "0.16.0" tokio = { version = "1.45.1", features = ["macros"] } + +[profile.release] +strip = true +lto = true +codegen-units = 1 -- cgit v1.2.3