packr 0.7.1

A WebAssembly package runtime with extended WIT support for recursive types
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
package process:adder;

/// Interface for the final computation
interface compute {
    /// Process a number: double it, then add 1
    process: func(n: s64) -> s64;
}

/// World for the adder component - imports doubler, exports compute
world adder {
    import process:doubler/math;
    export compute;
}