diff options
author | Veetaha <[email protected]> | 2020-06-21 13:58:34 +0100 |
---|---|---|
committer | Veetaha <[email protected]> | 2020-07-07 21:30:11 +0100 |
commit | f92bfb580780cda02f9ba8a935538f984d8a4c0d (patch) | |
tree | fbf0e24250cc36eaa122904e78cd7cb50fe1c665 /Cargo.lock | |
parent | 980a67f44629ed67a54b603aaf9d015a81d61f7a (diff) |
Gzip artifacts
Co-authored-by: bjorn3 <[email protected]>
Override miniz_oxide to build it with optimizations
Building this crate with optimizations decreases the gzipping
part of `cargo xtask dist` from `30-40s` down to `3s`,
the overhead for `rustc` to apply optimizations is miserable on this background
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock index 916fc53e0..108403ce6 100644 --- a/Cargo.lock +++ b/Cargo.lock | |||
@@ -208,6 +208,15 @@ dependencies = [ | |||
208 | ] | 208 | ] |
209 | 209 | ||
210 | [[package]] | 210 | [[package]] |
211 | name = "crc32fast" | ||
212 | version = "1.2.0" | ||
213 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
214 | checksum = "ba125de2af0df55319f41944744ad91c71113bf74a4646efff39afe1f6842db1" | ||
215 | dependencies = [ | ||
216 | "cfg-if", | ||
217 | ] | ||
218 | |||
219 | [[package]] | ||
211 | name = "crossbeam-channel" | 220 | name = "crossbeam-channel" |
212 | version = "0.4.2" | 221 | version = "0.4.2" |
213 | source = "registry+https://github.com/rust-lang/crates.io-index" | 222 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -341,6 +350,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
341 | checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d" | 350 | checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d" |
342 | 351 | ||
343 | [[package]] | 352 | [[package]] |
353 | name = "flate2" | ||
354 | version = "1.0.16" | ||
355 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
356 | checksum = "68c90b0fc46cf89d227cc78b40e494ff81287a92dd07631e5af0d06fe3cf885e" | ||
357 | dependencies = [ | ||
358 | "cfg-if", | ||
359 | "crc32fast", | ||
360 | "libc", | ||
361 | "miniz_oxide", | ||
362 | ] | ||
363 | |||
364 | [[package]] | ||
344 | name = "flycheck" | 365 | name = "flycheck" |
345 | version = "0.1.0" | 366 | version = "0.1.0" |
346 | dependencies = [ | 367 | dependencies = [ |
@@ -1993,6 +2014,7 @@ name = "xtask" | |||
1993 | version = "0.1.0" | 2014 | version = "0.1.0" |
1994 | dependencies = [ | 2015 | dependencies = [ |
1995 | "anyhow", | 2016 | "anyhow", |
2017 | "flate2", | ||
1996 | "pico-args", | 2018 | "pico-args", |
1997 | "proc-macro2", | 2019 | "proc-macro2", |
1998 | "quote", | 2020 | "quote", |