From 0332e40febd2f15ea483a38c955b1d65e5e1eae7 Mon Sep 17 00:00:00 2001 From: Mikhail Mitrofanov Date: Fri, 14 Aug 2026 23:49:37 +0300 Subject: [PATCH] Clear some logs and minimize binary file size --- Cargo.toml | 3 +++ src/dictionary.rs | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e42f034..93a3e53 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,11 +22,14 @@ zstd = "0.13.3" zip = "8.6.0" rfd = "0.17.2" mimalloc = "0.1.52" + [profile.super-release] inherits = "release" codegen-units = 1 lto = true opt-level = 3 +strip = true +panic = "abort" [dev-dependencies] criterion = "0.8.2" diff --git a/src/dictionary.rs b/src/dictionary.rs index 474258c..7192f75 100644 --- a/src/dictionary.rs +++ b/src/dictionary.rs @@ -437,7 +437,6 @@ impl DictionaryState { button("").on_press(WordAction(index)).width(15) }; line = line.push(line_button()).push(space().width(10)); - println!("Updating word {}", &data.key); line });