genfut 0.1.5

Generate bindings for Futhark
Documentation

Genfut

This is a tool to generate a Rust library to interact with exported functions from a Futhark file.

Usage

As an executable binary

genfut <Rust lib name> <futhark_file.fut>

Note that use of bindings module may not be generally portable. Use with caution.

As a library

build.rs

use genfut::genfut;

fn main() {
    genfut("<Rust lib name>", "futhark_file.fut")
}