graphrt-wasm 0.3.0

Sandboxed WebAssembly plugins for graphrt: add node kinds from portable .wasm modules with fuel and memory limits.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Size baseline: the same program without loading wasm, for measuring the
//! interpreter's footprint (`cargo build -p graphrt-wasm --profile min-size --examples`).

#![allow(clippy::print_stdout)]

use graphrt_core::Registry;

fn main() {
    let registry = Registry::with_builtins();
    match serde_json::to_string_pretty(&registry.descriptors()) {
        Ok(json) => println!("{json}"),
        Err(e) => eprintln!("{e}"),
    }
}