Skip to content

Consider upstreaming component2json to wit-bindgen #579

@yoshuawuyts

Description

@yoshuawuyts

Today I was looking at converting JSON-Schema to WIT, and realized I actually want the direct inverse of the component2json crate we have in Wassette. The right place for that new crate to live would probably be in wit-bindgen similar to the guest-rust crate.

That made me realize that component2json is actually quite similar to all the other wit-bindgen crates we have, which take WIT and know how to convert it to other types. This includes odd types out, such as WIT to Markdown.

Anyway, this seems like something that would be valuable to maintain upstream and not just as part of Wassette. I figured I should raise the issue here to begin discussing it. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions