On my computer, this halves the total build time from 11.7s to 5.4s, as well as the total size of the artifacts in target. This derive macro is nice, but it doesn’t justify the increase in compilation time for dependent crates imo. This effectively reverts #135, although using the up to date APIs from std::error::Error.
34 lines
854 B
TOML
34 lines
854 B
TOML
[package]
|
|
name = "zip"
|
|
version = "0.5.13"
|
|
authors = ["Mathijs van de Nes <git@mathijs.vd-nes.nl>", "Marli Frost <marli@frost.red>", "Ryan Levick <ryan.levick@gmail.com>"]
|
|
license = "MIT"
|
|
repository = "https://github.com/zip-rs/zip.git"
|
|
keywords = ["zip", "archive"]
|
|
description = """
|
|
Library to support the reading and writing of zip files.
|
|
"""
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
flate2 = { version = "1.0.0", default-features = false, optional = true }
|
|
time = { version = "0.1", optional = true }
|
|
byteorder = "1.3"
|
|
bzip2 = { version = "0.4", optional = true }
|
|
crc32fast = "1.0"
|
|
|
|
[dev-dependencies]
|
|
bencher = "0.1"
|
|
rand = "0.7"
|
|
walkdir = "2"
|
|
|
|
[features]
|
|
deflate = ["flate2/rust_backend"]
|
|
deflate-miniz = ["flate2/default"]
|
|
deflate-zlib = ["flate2/zlib"]
|
|
unreserved = []
|
|
default = ["bzip2", "deflate", "time"]
|
|
|
|
[[bench]]
|
|
name = "read_entry"
|
|
harness = false
|