wit-bindgen-cli 0.56.0

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

interface f {
    resource fd {
        get-a: func() -> s32;
        set-a: func(a: s32);
    }
}

interface utils {
    use f.{fd};
    my-func: func() -> own<fd>;
}

world test {
    import f;
    export f;
    export utils;
}