dotthz 0.1.1

Crate to load and save dotThz files in rust.
Documentation

Interface with dotThz files using rust

This crate provides an easy way to interface with dotThz files in rust.

Load it in your cargo.toml

[dependencies]
dotthz-rs = "0.1.1"

and then use like specified in the following example:

use std::path::PathBuf;
use dotthz::{DotthzFile};

fn main() {
    // Load data from the original file
    let file_path = PathBuf::from("test_files/2_VariableTemperature.thz");
    let file = DotthzFile::load(file_path.clone());
    
    // do stuff with the file
    // ...
    
    // save file
    file.save("test_files/output_file.thz");
}