summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2023-04-04 17:17:34 +0200
committerJustin Wernick <justin@worthe-it.co.za>2023-04-04 17:17:34 +0200
commitcb635a52c5dcbc4d2d06cf955e82096f64140ccc (patch)
tree1b15194142b0ed8fdc55e9bec72a1b1885161b3a
parentf1b973a4eb00c6aed1dc17a39c87d1c47fcf182a (diff)
Optimize dependencies build
-rw-r--r--Cargo.toml6
1 files changed, 6 insertions, 0 deletions
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