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

netsblox-extension-util

Allows for automatic generation of a NetsBlox extension that uses WASM

13 releases

0.2.7 Oct 9, 2024
0.2.6 Oct 4, 2024
0.2.5 Jul 22, 2024
0.2.1 Nov 2, 2023
0.1.2 Jun 13, 2023

#1194 in Rust patterns

Download history 111/week @ 2024-07-18 20/week @ 2024-07-25 34/week @ 2024-09-12 11/week @ 2024-09-19 6/week @ 2024-09-26 209/week @ 2024-10-03 72/week @ 2024-10-10 3/week @ 2024-10-17

168 downloads per month

MIT/Apache

36KB
684 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

~10–14MB
~255K SLoC