From 44cb2b8bdac455ba9c351cf0bfc1d8731e906052 Mon Sep 17 00:00:00 2001 From: Nathan Vegdahl Date: Wed, 11 Sep 2024 11:22:14 +0200 Subject: [PATCH] Make building faster. --- Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 16b678b..b431699 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,3 +15,10 @@ quick-xml = "0.36.1" [build-dependencies] lzma-rs = "0.3" lz4_flex = "0.11" + +# This makes the (de)compresssion of the dictionary at build time +# faster, improving over-all build times. +[profile.dev.build-override] +opt-level = 2 +[profile.release.build-override] +opt-level = 2