Provide the rust_backend feature

This commit is contained in:
Bob Sun 2017-10-23 14:57:00 -07:00 committed by Ricardo Ardissone
parent 79adef3b6e
commit c7e4ac0c2f

View file

@ -12,7 +12,7 @@ Library to support the reading and writing of zip files.
"""
[dependencies]
flate2 = "0.2"
flate2 = { git = "https://github.com/alexcrichton/flate2-rs", default-features = false }
time = "0.1"
podio = "0.1"
msdos_time = "0.1"
@ -22,4 +22,5 @@ bzip2 = { version = "0.3", optional = true }
walkdir = "1.0"
[features]
default = ["bzip2"]
default = ["bzip2", "flate2/default"]
rust_backend = ["flate2/rust_backend"]