chiark / gitweb /
zipfile: Add dependency
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 4 May 2021 18:22:04 +0000 (19:22 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 4 May 2021 20:07:05 +0000 (21:07 +0100)
Call it "zipfile" here to avoid clashes with iterator zips!

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Cargo.lock
Cargo.toml
src/imports.rs

index aa70b052c20079962d0f27b292da0be67f6cc0ab..6f88731625b535dbc16149326b699ff3ef33830e 100644 (file)
@@ -301,6 +301,27 @@ version = "1.0.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "b700ce4376041dcd0a327fd0097c41095743c4c8af8887265942faf1100bd040"
 
+[[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.10+1.0.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "17fa3d1ac1ca21c5c4e36a97f3c3eb25084576f6fc47bf0139c1123434216c6c"
+dependencies = [
+ "cc",
+ "libc",
+ "pkg-config",
+]
+
 [[package]]
 name = "cargo_metadata"
 version = "0.11.4"
@@ -2242,6 +2263,7 @@ dependencies = [
  "url 2.2.1",
  "usvg",
  "vecdeque-stableix",
+ "zip",
 ]
 
 [[package]]
@@ -4738,3 +4760,17 @@ name = "yansi"
 version = "0.5.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "9fc79f4a1e39857fc00c3f662cbf2651c771f00e9c15fe2abc341806bd46bd71"
+
+[[package]]
+name = "zip"
+version = "0.5.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9c83dc9b784d252127720168abd71ea82bf8c3d96b17dc565b5e2a02854f2b27"
+dependencies = [
+ "byteorder",
+ "bzip2",
+ "crc32fast",
+ "flate2",
+ "thiserror",
+ "time",
+]
index 4235854f5347393e834b6109fe9dac47637763d5..03ca80d74e7ba0b253ae55b5babf38938074908f 100644 (file)
@@ -76,6 +76,7 @@ typetag="0.1.6"
 uds="0.2"
 url="2"
 vecdeque-stableix="1"
+zip="0.5"
 
 enum-map     = { version="1"    , features=["serde"       ] }
 flexi_logger = { version="0.17" , features=["specfile"    ] }
index 5608f67f394606ef5d58cf60f612f8b40386c6a4..54ac0ba3053496d6fbefe5c82e30d363a8feed3e 100644 (file)
@@ -37,3 +37,4 @@ pub use slotmap;
 pub use toml;
 pub use uds;
 pub use vecdeque_stableix;
+pub use zip as zipfile;