Skip to content

Commit d43e867

Browse files
committed
Opt out of libz default features
1 parent ae86d5f commit d43e867

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
- Added support for attributes. The Attribute API uses the new Dataset API. Attributes
4848
only supports the same operations as `hdf5` (e.g. one can not perform partial IO,
4949
but must read the entire attribute at once).
50-
5150
- Added support in `hdf5-sys` for the new functions in `hdf5` `1.10.6` and `1.10.7`.
5251

5352
### Changed
@@ -70,6 +69,7 @@
7069
- `hdf5_types::Array` trait has been removed and replaced with const generics. String types
7170
are now generic over size only: `FixedAscii<N>` and `FixedUnicode<N>`.
7271
- The version of `hdf5` built in `hdf5-src` has been updated from `1.10.6` to `1.10.7`.
72+
- The `zlib` dependency is no longer included with `default-features`.
7373

7474
## 0.7.1
7575

hdf5-src/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ deprecated = []
3232
threadsafe = []
3333

3434
[dependencies]
35-
libz-sys = { version = "1.0.25", features = ["static"], optional = true }
35+
libz-sys = { version = "1.0.25", features = ["static"], optional = true, default-features=false }
3636

3737
[build-dependencies]
3838
cmake = "0.1.44"

hdf5-sys/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ readme = "README.md"
1515
[dependencies]
1616
libc = "0.2"
1717
mpi-sys = { version = "0.1", optional = true }
18-
libz-sys = { version = "1.0.25", optional = true }
18+
libz-sys = { version = "1.0.25", optional = true, default-features = false }
1919
hdf5-src = { path = "../hdf5-src", version = "0.7.1", optional = true } # !V
2020

2121
# Please see README for further explanation of these feature flags

0 commit comments

Comments
 (0)