Skip to content

Can we have more examples that cover resource, record, etc. #139

@chaosprint

Description

@chaosprint

I looked for the repo of wit-bindgen and cargo-component, and there are several examples of designing import, export, and func. But they are basically at the level of helloworld and adder.

But how to create a struct similar to Rust? The docs mention resource, interface, record, etc., but there are no examples to explain how to write wit and bind at the Rust level.

It's basically some expansion to the current tutorial.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions