wit-bindgen-cli 0.57.1

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

interface i {
  cancel-before-read: async func(x: future<u32>);
  cancel-after-read: async func(x: future<u32>);
  start-read-then-cancel: async func(
    data: future<u32>,
    signal: future,
  );
}

world test {
  export i;
}

world runner {
  import i;

  export run: async func();
}