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"]