Skip to content

Commit

Permalink
require libz
Browse files Browse the repository at this point in the history
  • Loading branch information
magnusuMET committed Feb 19, 2020
1 parent 182eefb commit 8233690
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions netcdf-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ links = "netcdf"
build = "build.rs"

[dependencies]
libz-sys = { version = "1.0.25", optional = true }
libz-sys = { version = "1.0.25" }
curl-sys = { version = "0.4.25", optional = true }
hdf5-sys = { version = "0.6.1", features = ["hl", "deprecated"] }
hdf5-sys = { version = "0.6.1", features = ["hl", "deprecated", "zlib"] }

[dev-dependencies]
lazy_static = "1.4.0"
Expand All @@ -26,11 +26,10 @@ lazy_static = "1.4.0"
cmake = "0.1.42"

[features]
default = ["libz"]
default = []
memio = []
static = ["libz-sys/static", "hdf5-sys/static"]
# TODO: Link static curl (but only when using "dap") "curl-sys/static-curl", "curl-sys/static-ssl"
libz = ["libz-sys"]
dap = ["curl-sys"]

[patch]
Expand Down

0 comments on commit 8233690

Please sign in to comment.