From 07accd5667142c7a07796e02053e0b58545cf43f Mon Sep 17 00:00:00 2001 From: tjjfvi Date: Mon, 27 May 2024 11:52:40 -0400 Subject: [PATCH] add release profile --- Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index ccddddcd..aa359fc6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,6 +25,13 @@ path = "src/main.rs" bench = false required-features = ["std"] +[profile.release] +codegen-units = 1 +lto = "fat" +opt-level = 3 +panic = "abort" +debug = "full" + [dependencies] clap = { version = "4.5.4", features = ["derive"] } libloading = { version = "0.8.3", default-features = false }