hdf5-rs

Build Status Appveyor Build Status

Documentation

Thread-safe Rust bindings and high-level wrappers for the HDF5 library API.

Compatibility

Platforms

hdf5-rs is known to run on these platforms:

Rust

hdf5-rs is tested for all three official release channels:

Building

Linux, OS X

There are also two environment variables that may be of use if the library location and/or name is unconventional:

Note also that the build script of libhdf5-sys crate tries to use pkg-config (if it's available to deduce library location).

For most setups though, just running cargo build and cargo test should be sufficient.

Windows

Until the official MSVC tooling lands in stable Rust (presumably in 1.2.0), we can only support the gcc build of HDF5 binaries on Windows. Since the official binaries from HDF-Group are built with MSVC, a few extra step are required to get everything working. Instructions for building HDF5 on Windows can be found here. The TDM distribution of MinGW-GCC is recommended as it contains bintools for both 32-bit and 64-bit.

As of now, building hdf5-rs on Windows requires a few manual steps:

License

hdf5-rs is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0). See LICENSE-APACHE and LICENSE-MIT for details.