From 3c052367b1a922fbb5eb9016224a3e1dc87439c3 Mon Sep 17 00:00:00 2001 From: dal Date: Tue, 11 Mar 2025 20:00:10 -0600 Subject: [PATCH] some build optimizations --- api/Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/api/Cargo.toml b/api/Cargo.toml index 7ae5cfb0d..98861faaa 100644 --- a/api/Cargo.toml +++ b/api/Cargo.toml @@ -173,3 +173,11 @@ async-trait = { workspace = true } [profile.release] debug = false +incremental = true + +[profile.dev] +incremental = true + +opt-level = 0 # Ensure this is 0 for faster debug builds +debug = 1 # Reduce debug info slightly while keeping enough for backtraces +