From f7e864b43cc02a6c3f9a789ac13b7487be44b4fd Mon Sep 17 00:00:00 2001 From: Lukasz Woznicki <75632179+makr11st@users.noreply.github.com> Date: Fri, 1 Sep 2023 15:50:41 +0000 Subject: [PATCH] Add size optimizatio for release profile. --- Cargo.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 56aaa731..bf5d834e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rusty_falcon" -version = "0.3.2" +version = "0.3.3" authors = ["CrowdStrike Inc"] description = "Rust bindings for CrowdStrike Falcon API" homepage = "https://github.com/CrowdStrike/rusty-falcon" @@ -26,3 +26,8 @@ url = "2.4.0" [dev-dependencies] clap = { version = "4.3", features = ["derive"] } tokio = { version = "1.30", features = ["rt-multi-thread", "macros"] } + +[profile.release] +codegen-units = 1 +lto = "thin" +opt-level = "z"