Skip to content

Commit 24beeaa

Browse files
authored
Merge pull request #65 from pmarks/pmarks/attrs
attribute support
2 parents 6c1ca84 + 8e519ce commit 24beeaa

File tree

5 files changed

+477
-4
lines changed

5 files changed

+477
-4
lines changed

CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@
4444
also knows how to deallocate itself; it supports all of the HDF5 types including
4545
compound types, strings and arrays.
4646
- Added methods to `Dataset`: `layout`, `dapl`, `access_plist`, `dcpl`, `create_plist`.
47-
47+
- Added support for attributes. The Attribute API uses the new Dataset API. Attributes
48+
only supports the same operations as `hdf5` (e.g. one can not perform partial IO,
49+
but must read the entire attribute at once).
50+
4851
### Changed
4952

5053
- Required Rust compiler version is now `1.51`.

src/hl.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
pub mod attribute;
12
pub mod container;
23
pub mod dataset;
34
pub mod dataspace;
@@ -12,6 +13,10 @@ pub mod plist;
1213
pub mod selection;
1314

1415
pub use self::{
16+
attribute::{
17+
Attribute, AttributeBuilder, AttributeBuilderData, AttributeBuilderEmpty,
18+
AttributeBuilderEmptyShape,
19+
},
1520
container::{Container, Reader, Writer},
1621
dataset::{
1722
Dataset, DatasetBuilder, DatasetBuilderData, DatasetBuilderEmpty, DatasetBuilderEmptyShape,

0 commit comments

Comments
 (0)