typeshare
typeshare copied to clipboard
WASI Support
Hey I'm interested in this project, as it solves a problem I've had with a lot of my projects. One of the main languages I'm interested in generating types for is WASI (WebAssembly System Interface), is there interest in the project to support WASI?
I think that would require #![no_std]
support to be added
Hi @XAMPPRocky, while I don't know any alternatives specifically for WASI, I do know a great resource for generating TypeScript bindings from Rust+WebAssembly projects: tsify.
I had actually given a talk about it a couple of months ago, here are the repo and slides.
I think that would require
#![no_std]
support to be added
typeshare actually works on #![no_std]
. You just have to use the typeshare_annotation
crate directly, as the core crate pulls in std
dependencies, presumably for Kotlin and Swift FFI.