From 67e3bbacfd47942589a88a62016f032bb0884250 Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Sat, 28 Jun 2025 22:36:47 +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 22078f7..2164b1d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,20 @@ name = "meili_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] tokio = { version = "1.44.2", features = ["full"] }