From f8fc8e402056d47f4abfbcc42028d7ee093b6a3a Mon Sep 17 00:00:00 2001 From: Echo J Date: Mon, 6 Jan 2025 13:17:53 +0200 Subject: [PATCH 1/2] Remove empty features list from some crates I'm not sure why this was in place --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 74fda14..356c3d8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ readme = "README.md" lto = true [build-dependencies] -tauri-build = { version = "2", features = [] } +tauri-build = "2" [dependencies] clap = { version = "4.1", features = ["derive"] } @@ -34,7 +34,7 @@ rfd = "0.15.1" semver = "1.0.23" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -tauri = { version = "2", features = [] } +tauri = "2" tauri-plugin-log = { version = "2.2.0" } tauri-plugin-shell = "2" tokio = { version = "1.42.0", features = ["full"] } From 028ef4bd50e26e244e68f69844cf330930f26bfb Mon Sep 17 00:00:00 2001 From: Echo J Date: Mon, 6 Jan 2025 17:51:22 +0200 Subject: [PATCH 2/2] Switch to ThinLTO for release builds This apparently reduces build time with the same LTO performance gain --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 356c3d8..b730fa2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ license = "GPL-3.0" readme = "README.md" [profile.release] -lto = true +lto = "thin" [build-dependencies] tauri-build = "2"