hdf5-bitshuffle 0.1.1

HDF5 bitshuffle plugin for Rust
docs.rs failed to build hdf5-bitshuffle-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: hdf5-bitshuffle-0.9.0

hdf5-bitshuffle

This is a Rust binding of bitshuffle HDF5 filter. Some HDF5 files use this not standard plugin bitshuffle (mainly Dectris Eiger detectors). This crate makes a binding it for Rust.

Usage example:

use std::sync::Once;
use hdf5_bitshuffle::bshuf_register_h5filter;
//!
static REGISTER_BITSHUFFLE: Once = Once::new();
//!
fn main() {
    unsafe {
        REGISTER_BITSHUFFLE.call_once(|| {
                if bshuf_register_h5filter() < 0 {
                    panic!("Could not register bitshuffle plugin for HDF5");
                }
            });
        }
}