wit-bindgen-cli 0.57.0

CLI tool to generate bindings for WIT documents and the component model.
package my:inline;

interface foo {
    resource a;

    bar: func() -> a;
}

interface bar {
    use foo.{a};

    bar: func(m: a) -> list<a>;
}

world test {
    export foo;
    export bar;
}

world runner {
    import bar;

    export run: func();
}