From 1696687965461c2593c00ac23c72c2f9c6e7f419 Mon Sep 17 00:00:00 2001 From: Jeremy Howard Date: Mon, 31 Aug 2026 09:25:00 +1000 Subject: [PATCH] Speed up local Rust release builds --- Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 70aba10..29e6583 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,4 +17,8 @@ tokio = { version = "1", features = ["net", "io-util", "rt-multi-thread", "macro serde_json = "1" [profile.release] -strip = true +lto = false +codegen-units = 16 + +[profile.release.package.zmtpmini] +incremental = true