#extension #nets-blox #wasm #generate #automatic #macro #script

netsblox-extension-util

Allows for automatic generation of a NetsBlox extension that uses WASM

11 releases

new 0.2.5 Jul 22, 2024
0.2.4 Jul 10, 2024
0.2.1 Nov 2, 2023
0.1.4 Aug 9, 2023
0.1.2 Jun 13, 2023

#172 in Procedural macros

Download history 41/week @ 2024-03-31 2/week @ 2024-05-19 349/week @ 2024-07-07 21/week @ 2024-07-14

370 downloads per month

MIT/Apache

30KB
594 lines

netsblox-extension-util

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.

Dependencies

~9–13MB
~239K SLoC