Make the zip dependency macOS specific. Fix #27

This commit is contained in:
Federico Terzi 2019-11-08 21:55:06 +01:00
parent b978c8a593
commit 6ce80139fa

View File

@ -18,7 +18,6 @@ clap = "2.33.0"
regex = "1.3.1"
log = "0.4.8"
simplelog = "0.7.1"
zip = "0.5.3"
fs2 = "0.4.3"
serde_json = "1.0.40"
log-panics = {version = "2.0.0", features = ["with-backtrace"]}
@ -34,5 +33,8 @@ dialoguer = "0.4.0"
[target.'cfg(unix)'.dependencies]
libc = "0.2.62"
[target.'cfg(target_os = "macos")'.dependencies]
zip = "0.5.3"
[build-dependencies]
cmake = "0.1.31"