From 8f9df6f5bbea3744d019aacabcabed2b983ac7f6 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Tue, 23 Jun 2020 13:16:00 +0200 Subject: [PATCH] Remove bzip2 dependency --- Cargo.lock | 45 --------------------------------------------- Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 46 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 72de9b6..1e19f46 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -74,33 +74,6 @@ version = "1.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de" -[[package]] -name = "bzip2" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42b7c3cbf0fa9c1b82308d57191728ca0256cb821220f4e2fd410a72ade26e3b" -dependencies = [ - "bzip2-sys", - "libc", -] - -[[package]] -name = "bzip2-sys" -version = "0.1.9+1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad3b39a260062fca31f7b0b12f207e8f2590a67d32ec7d59c20484b07ea7285e" -dependencies = [ - "cc", - "libc", - "pkg-config", -] - -[[package]] -name = "cc" -version = "1.0.54" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bbb73db36c1246e9034e307d0fba23f9a2e251faa47ade70c1bd252220c8311" - [[package]] name = "cfg-if" version = "0.1.9" @@ -302,12 +275,6 @@ version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06de47b848347d8c4c94219ad8ecd35eb90231704b067e67e6ae2e36ee023510" -[[package]] -name = "pkg-config" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05da548ad6865900e60eaba7f589cc0783590a92e940c26953ff81ddbab2d677" - [[package]] name = "podio" version = "0.1.7" @@ -483,16 +450,6 @@ dependencies = [ "lazy_static", ] -[[package]] -name = "time" -version = "0.1.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438" -dependencies = [ - "libc", - "winapi", -] - [[package]] name = "unicode-segmentation" version = "1.6.0" @@ -560,9 +517,7 @@ version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6df134e83b8f0f8153a094c7b0fd79dfebe437f1d76e7715afa18ed95ebe2fd7" dependencies = [ - "bzip2", "crc32fast", "flate2", "podio", - "time", ] diff --git a/Cargo.toml b/Cargo.toml index 1ceb2c6..0da4b57 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,5 +12,5 @@ nom = "5.1.1" num-derive = "0.3" num-traits = "0.2" pretty_env_logger = "0.4" -zip = "0.5.5" +zip = { version = "0.5.5", default-features = false, features = ["deflate"] } clap = "3.0.0-beta.1"