From 9fd8ce3151e4f6ad273a51fd4a40c72aca40c438 Mon Sep 17 00:00:00 2001 From: ClementTsang <34804052+ClementTsang@users.noreply.github.com> Date: Tue, 7 Feb 2023 04:24:14 -0500 Subject: [PATCH] other: compile dependencies in dev with optimizations --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 8bc91018..87136f5f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,6 +40,9 @@ test = true doctest = true doc = true +[profile.dev.package."*"] +opt-level = 3 # Compile dependencies with optimizations on. + [profile.release] # debug = true # Might be nice to have a custom profile for flamegraphs. # strip = false