From f617f46bfc455c9f1bad807b5dee3726543aff21 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 25 Jul 2021 12:18:29 +0200 Subject: build: set opt-level = 2 for dependencies tar-rs is unusably slow without optimization. --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 980ad4b..f77af31 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,3 +23,6 @@ tar = "0.4.32" tee_readwrite = "0.1.0" users = "0.11.0" walkdir = "2" + +[profile.dev.package."*"] +opt-level = 2 -- cgit v1.2.3