From f90979c166ba9fbc9c0c939f7f776a9f6ed2354d Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Sat, 28 Jun 2025 22:36:22 +0200 Subject: [PATCH] Optimize release build --- Cargo.toml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e60bf13..50520a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,20 @@ name = "library_updater" version = "0.1.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[profile.release] +opt-level = 3 +debug = false +strip = true +lto = true +codegen-units = 1 +panic = 'abort' + +[profile.profiling] +inherits = "release" +debug = true +strip = false + [dependencies] sql-parse = "0.24.0"