From c3c26a31b575bb29f35a1dbbd3aa467e89835ba7 Mon Sep 17 00:00:00 2001 From: Alexander Zaitsev Date: Sat, 12 Oct 2024 16:06:58 +0300 Subject: [PATCH 1/2] feat: enable LTO --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c0c7a68..90ceac8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,4 +46,7 @@ cosmic-notifications-util = { git = "https://github.com/pop-os/cosmic-notificati [features] systemd = ["dep:zbus_systemd", "dep:tracing-journald"] -default = ["systemd"] +default = ["systems"] + +[profile.release] +lto = "fat" From 1318f64e729e74fb5095565aaea9992610dd5eff Mon Sep 17 00:00:00 2001 From: Alexander Zaitsev Date: Sat, 12 Oct 2024 16:08:09 +0300 Subject: [PATCH 2/2] fix: fix autocorrection --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 90ceac8..f308793 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,7 +46,7 @@ cosmic-notifications-util = { git = "https://github.com/pop-os/cosmic-notificati [features] systemd = ["dep:zbus_systemd", "dep:tracing-journald"] -default = ["systems"] +default = ["systemd"] [profile.release] lto = "fat"