From fe47175f2c0071f874ad7adf15f22e340145d341 Mon Sep 17 00:00:00 2001 From: Lzu Tao Date: Fri, 31 Jan 2020 10:25:53 +0700 Subject: [PATCH] Improve compile time --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 4469eec..8eda798 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,3 +15,8 @@ petgraph = "0.4" semver = "0.9" serde_json = "1.0" structopt = "0.3" + +# Reduce compile time by setting no optimization for build scripts, +# proc macros, and their dependencies +[profile.release.build-override] +opt-level = 0