From cb635a52c5dcbc4d2d06cf955e82096f64140ccc Mon Sep 17 00:00:00 2001 From: Justin Wernick Date: Tue, 4 Apr 2023 17:17:34 +0200 Subject: Optimize dependencies build --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index f9c23d9..f255a9f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,3 +8,9 @@ edition = "2018" regex = "1.7" lazy_static = "1" clap = { version = "4.1", features = ["derive"] } + +[profile.dev.package."*"] +opt-level = 3 +# incremental compile is rarely useful for dependencies since they change +# infrequently, and having this on breaks sccache +incremental = false -- cgit v1.2.3