Skip to content

Commit 9f98ab9

Browse files
authored
Merge pull request #189 from aldanor/feature/pre-0.8.1
0.8.1
2 parents 8348074 + c33c8bd commit 9f98ab9

File tree

6 files changed

+20
-12
lines changed

6 files changed

+20
-12
lines changed

CHANGELOG.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# Changelog
22

3-
## Unreleased
3+
## 0.8.1
4+
5+
Release date: Nov 21, 2021.
46

57
### Added
68

79
- `Error` now implements `From<Infallible>`, which allows passing convertible
810
extents (like tuples of integers) where `impl TryInto<Extents>` is required.
9-
- Support for HDF5 versions 1.12.1 and 1.10.8
11+
- Support for HDF5 versions 1.12.1 and 1.10.8.
1012
- `#[derive(H5Type)]` now supports structs / tuple structs with `repr(packed)`.
1113
- `#[derive(H5Type)]` now supports structs / tuple structs with
1214
`repr(transparent)` (the generated HDF5 type is equivalent to the type of
@@ -16,6 +18,12 @@
1618

1719
- Renamed `filters::gzip_available()` to `deflate_available()` (the old name is
1820
present but marked as deprecated).
21+
- Code dependent on HDF5 version in `hdf5` and `hdf5-sys` crates now uses features
22+
instead of cfg options: `cfg(feature = "1.10.1")` instead of `cfg(hdf5_1_10_1)`.
23+
The main initial reason for that is for HDF5 versions to show up in the official
24+
documentation on docs.rs.
25+
- Similar to the above, there's `have-direct`, `have-parallel` and `have-threadsafe`
26+
features that reflect the build configuration of the underlying HDF5 library.
1927

2028
### Fixed
2129

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hdf5"
3-
version = "0.8.0" # !V
3+
version = "0.8.1" # !V
44
authors = ["Ivan Smirnov <[email protected]>"]
55
keywords = ["hdf5"]
66
license = "MIT OR Apache-2.0"
@@ -34,9 +34,9 @@ ndarray = "0.15"
3434
paste = "1.0"
3535
mpi-sys = { version = "0.1", optional = true }
3636
errno = { version = "0.2", optional = true }
37-
hdf5-sys = { path = "hdf5-sys", version = "0.8.0" } # !V
38-
hdf5-types = { path = "hdf5-types", version = "0.8.0" } # !V
39-
hdf5-derive = { path = "hdf5-derive", version = "0.8.0" } # !V
37+
hdf5-sys = { path = "hdf5-sys", version = "0.8.1" } # !V
38+
hdf5-types = { path = "hdf5-types", version = "0.8.1" } # !V
39+
hdf5-derive = { path = "hdf5-derive", version = "0.8.1" } # !V
4040
blosc-sys = { version = "0.1.1", package = "blosc-src", optional = true }
4141
lzf-sys = { version = "0.1", optional = true }
4242
cfg-if = "1.0"

hdf5-derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hdf5-derive"
3-
version = "0.8.0" # !V
3+
version = "0.8.1" # !V
44
authors = ["Ivan Smirnov <[email protected]>"]
55
keywords = ["hdf5"]
66
license = "MIT OR Apache-2.0"

hdf5-src/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hdf5-src"
3-
version = "0.8.0" # !V
3+
version = "0.8.1" # !V
44
authors = ["Ivan Smirnov <[email protected]>"]
55
keywords = ["hdf5"]
66
license-file = "ext/hdf5/COPYING"

hdf5-sys/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hdf5-sys"
3-
version = "0.8.0" # !V
3+
version = "0.8.1" # !V
44
authors = ["Ivan Smirnov <[email protected]>"]
55
keywords = ["hdf5"]
66
license = "MIT OR Apache-2.0"
@@ -16,7 +16,7 @@ readme = "README.md"
1616
libc = "0.2"
1717
mpi-sys = { version = "0.1", optional = true }
1818
libz-sys = { version = "1.0.25", optional = true, default-features = false }
19-
hdf5-src = { path = "../hdf5-src", version = "0.8.0", optional = true } # !V
19+
hdf5-src = { path = "../hdf5-src", version = "0.8.1", optional = true } # !V
2020

2121
# Please see README for further explanation of these feature flags
2222
[features]

hdf5-types/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hdf5-types"
3-
version = "0.8.0" # !V
3+
version = "0.8.1" # !V
44
authors = ["Ivan Smirnov <[email protected]>"]
55
keywords = ["hdf5"]
66
license = "MIT OR Apache-2.0"
@@ -16,7 +16,7 @@ h5-alloc = []
1616
[dependencies]
1717
ascii = "1.0"
1818
libc = "0.2"
19-
hdf5-sys = { version = "0.8.0", path = "../hdf5-sys" } # !V
19+
hdf5-sys = { version = "0.8.1", path = "../hdf5-sys" } # !V
2020
cfg-if = "1.0.0"
2121

2222
[dev-dependencies]

0 commit comments

Comments
 (0)