From d01cd52a468e585b9633943b7c4708042a2a6027 Mon Sep 17 00:00:00 2001 From: GZTime Date: Thu, 9 Jan 2025 01:38:26 +0800 Subject: [PATCH] feat: minify binary size --- Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 61f11f3..62444fb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,13 @@ name = "opencl_vanity_gpg" version = "0.1.0" edition = "2021" +[profile.release] +codegen-units = 1 +lto = "thin" +opt-level = 3 +panic = "abort" +strip = true + [dependencies] byteorder = "1.5" chrono = { version = "0.4", default-features = false, features = ["now"] }