lenso-contract-codegen 0.9.0

Generates exact Rust, TypeScript, and WIT bindings from portable Lenso Capability contracts.
Documentation
// @generated by lenso-contract-codegen; do not edit.
package example:greeting@1.0.0;

interface capability {
  record echo-request {
    message: string,
  }

  record echo-response {
    message: string,
  }

  variant echo-error {
    rejected,
  }

  echo: func(request: echo-request) -> result<echo-response, echo-error>;
}

world provider {
  export capability;
}

world consumer {
  import capability;
}