h5rio 0.3.0

A simple HDF5 IO library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[cfg(test)]
use tempfile::{TempDir, tempdir};

#[cfg(test)]
pub fn tempfile(stem: &str) -> (TempDir, String) {
    let dir  = tempdir().unwrap();
    let file = dir.path()
                  .join(stem)
                  .to_str()
                  .unwrap()
                  .to_string();
    (dir, file)
}