fibertools-rs 0.3.7

Fiber-seq toolkit in rust
Documentation
use std::process::Command;

fn main() {
    let output = Command::new("git")
        .args(["rev-parse", "HEAD"])
        .output()
        .unwrap();
    let git_hash = String::from_utf8(output.stdout).unwrap();
    let version = env!("CARGO_PKG_VERSION");
    println!(
        "cargo:rustc-env=CARGO_GIT_HASH={}
        cargo:rustc-env=CARGO_LONG_VERSION={} commit:{}",
        git_hash, version, git_hash
    );

    // Generate the model code and state file from the ONNX file.
    /*
    use burn_import::onnx::ModelGen;
        ModelGen::new()
            .input("src/model/Revio.onnx") // Path to the ONNX model
            .out_dir("model/") // Directory for the generated Rust source file (under target/)
            .run_from_script();
         */
}