From 7540854583facd3afecc11c84eaf9d7d6b8f904c Mon Sep 17 00:00:00 2001 From: dev11n Date: Wed, 17 Aug 2022 22:27:24 +0200 Subject: [PATCH] Optimize for smaller build-size --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 435116b..fc4f8bf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,6 +12,11 @@ homepage = "https://github.com/yavko/hyprland-rs" repository = "https://github.com/yavko/hyprland-rs" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[profile.release] +opt-level = "z" +strip = true +lto = true + [dev-dependencies] rusty-hook = "^0.11.2"