This crate provides a build script to automatically generate a WASM-based NetsBlox extension.
The netsblox-extension-macro crate provides a set of macros used to mark functions and structs used to generate the extension.
Example usage in build.rs:
use std::error::Error;
fn main() -> Result<(), Box<dyn Error>> {
netsblox_extension_util::build()
}
See https://github.com/gsteinLTU/netsblox-extension-rs for an example project using this crate.