From 70b14733224d6405415a886484373407e5c2495a Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu <23022326+d0cd@users.noreply.github.com> Date: Tue, 16 Jul 2024 16:43:33 -0700 Subject: [PATCH] Fix --- Cargo.lock | 28 ++++++++++++++++++++++++++++ Cargo.toml | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 215d6b98d3..c5ce387c56 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1813,6 +1813,12 @@ dependencies = [ "scopeguard", ] +[[package]] +name = "lockfree-object-pool" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9374ef4228402d4b7e403e5838cb880d9ee663314b0a900d5a6aabf0c213552e" + [[package]] name = "log" version = "0.4.21" @@ -2864,6 +2870,12 @@ dependencies = [ "rand_core", ] +[[package]] +name = "simd-adler32" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" + [[package]] name = "slab" version = "0.4.9" @@ -4654,10 +4666,12 @@ dependencies = [ "crc32fast", "crossbeam-utils", "displaydoc", + "flate2", "indexmap 2.2.6", "memchr", "thiserror", "time", + "zopfli", ] [[package]] @@ -4669,3 +4683,17 @@ dependencies = [ "ed25519-dalek", "thiserror", ] + +[[package]] +name = "zopfli" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5019f391bac5cf252e93bbcc53d039ffd62c7bfb7c150414d61369afe57e946" +dependencies = [ + "bumpalo", + "crc32fast", + "lockfree-object-pool", + "log", + "once_cell", + "simd-adler32", +] diff --git a/Cargo.toml b/Cargo.toml index bc287372c1..14356b8edb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -142,7 +142,7 @@ features = [ "blocking", "json", "multipart" ] [dependencies.self_update] version = "0.41.0" -features = [ "archive-zip" ] +features = [ "archive-zip", "compression-zip-deflate" ] [dependencies.serde] version = "1.0"