summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2023-04-03 20:05:01 +0200
committerJustin Wernick <justin@worthe-it.co.za>2023-04-03 20:05:01 +0200
commitbb0ab2b2c200bd49c3fdf66e23184d4627067aca (patch)
tree0299402d72f4ffdf1b3613053be0e25c84cd31ee
parente5fef4f81679582cd6e55de3c8d4461fe712c997 (diff)
Change cargo config to work better with sccache
-rw-r--r--Cargo.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index a84fbe8..3e75bfb 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -24,4 +24,10 @@ once_cell = "1.17.1"
tempfile = "3.4.0"
rexpect = "0.5.0"
+[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
+
[workspace]