Skip to main content

hdf5_pure_rust/
lib.rs

1#![allow(
2    clippy::bool_assert_comparison,
3    clippy::collapsible_else_if,
4    clippy::explicit_auto_deref,
5    clippy::if_same_then_else,
6    clippy::items_after_test_module,
7    clippy::len_without_is_empty,
8    clippy::manual_contains,
9    clippy::manual_div_ceil,
10    clippy::manual_is_multiple_of,
11    clippy::manual_saturating_arithmetic,
12    clippy::needless_borrow,
13    clippy::needless_range_loop,
14    clippy::needless_return,
15    clippy::new_without_default,
16    clippy::only_used_in_recursion,
17    clippy::ptr_arg,
18    clippy::should_implement_trait,
19    clippy::too_many_arguments,
20    clippy::useless_conversion
21)]
22
23pub mod engine;
24pub mod error;
25pub mod filters;
26pub mod format;
27pub mod hl;
28pub mod io;
29
30pub use error::{Error, Result};
31pub use format::messages::dataspace::DataspaceType;
32pub use hl::attribute::{Attribute, AttributeInfo};
33pub use hl::context::{
34    ApiContext, BackgroundBufferType, IoTransferMode, MpioCollectiveOpt, SelectionIoMode,
35};
36pub use hl::dataset::{
37    ChunkInfo, Dataset, DatasetAccess, DatasetSpaceStatus, VdsMissingSourcePolicy, VdsView,
38};
39pub use hl::dataset_builder::DatasetBuilder;
40pub use hl::dataspace::{Dataspace, Extents};
41pub use hl::datatype::{Datatype, TypeDescriptor};
42pub use hl::file::{
43    File, FileBuilder, FileCreateBuilder, FileInfo, FileIntent, FreeSpaceInfo,
44    MetadataCacheImageInfo, MetadataCacheSize, OpenMode, PageBufferingStats, SharedMessageInfo,
45    SuperblockInfo,
46};
47pub use hl::group::{Group, GroupInfo, LinkInfo, LinkValue, ObjectInfo};
48pub use hl::location::Location;
49pub use hl::mutable_file::MutableFile;
50pub use hl::plist::data_transfer::DataTransfer;
51pub use hl::plist::dataset_create::{
52    IrregularHyperslabBlockInfo, VirtualMappingInfo, VirtualSelectionInfo,
53};
54pub use hl::plist::file_access::{
55    FileCloseDegree, LibverBound, MetadataCacheConfig, MetadataCacheImageConfig,
56    MetadataCacheLogOptions,
57};
58pub use hl::plist::file_create::{FileSpaceStrategy, SharedMessageIndex};
59pub use hl::plist::link_access::LinkAccess;
60pub use hl::plist::object_copy::ObjectCopy;
61pub use hl::plist::object_create::ObjectCreate;
62pub use hl::selection::{
63    HyperslabDim, IntoSelection, IntoSliceDim, RawSelection, Selection, SelectionType, SliceInfo,
64};
65pub use hl::types::H5Type;
66pub use hl::value::H5Value;
67pub use hl::writable_file::WritableFile;
68
69/// Re-export the derive macro when the `derive` feature is enabled.
70#[cfg(feature = "derive")]
71pub use hdf5_pure_rust_derive::H5Type as DeriveH5Type;