From 5b374dd4b99c4b1d1c1517a5fd8f4ba1102252de Mon Sep 17 00:00:00 2001 From: LJ Date: Thu, 8 May 2025 17:06:03 -0700 Subject: [PATCH] chore(release): enable lto for release --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 561059186..3bec286a3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,10 @@ name = "cocoindex" version = "999.0.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[profile.release] +codegen-units = 1 +lto = true + [lib] name = "cocoindex_engine" crate-type = ["cdylib"]