From 755e1d4d5bc7d7912d033928b929997bade26750 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Mon, 11 Sep 2023 16:46:56 -0700 Subject: [PATCH] optimize release binary size --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index f48b732..3427a0b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,3 +10,8 @@ clap = { version = "4.4.2", features = ["derive"] } rbx_binary = "0.7.1" rbx_dom_weak = "2.5.0" rbx_reflection_database = "0.2.7" + +[profile.release] +lto = true +strip = true +codegen-units = 1