witgen

witgen is a library to help you generate wit definitions in a wit file for WebAssembly

Examples

```rust use witgen::witgen;

[witgen]

fn test(other: Vec, number: u8, othernum: i32) -> (String, i64) { (String::from("test"), 0i64) } ```

$ cargo witgen generate

test : function(other: list <u8>, number: u8, othernum: s32) -> (string, s64)

Roadmap: