From 9c0eae65b8b031a5150e9f89da3e561359015ffb Mon Sep 17 00:00:00 2001 From: salmonik Date: Sat, 11 Jul 2026 02:38:53 +0200 Subject: reduce binary size drastically --- Cargo.toml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index b91b603..9f42e60 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,14 @@ name = "xkbpreview" version = "0.1.0" edition = "2024" +[profile.release] +opt-level = "z" +lto = "thin" +codegen-units = 1 +strip = true +panic = "abort" + [dependencies] -eframe = "0.34" +eframe = { version = "0.34", default-features = false, features = ["glow", "x11", "default_fonts"] } xkbcommon = "0.9" x11rb = { version = "0.13", features = ["xkb"] } -- cgit v1.2.3