impero-com / typebinder

Exports TS definitions from Rust module
Other
20 stars 2 forks source link

Proper Readme and examples #5

Closed AlisCode closed 3 years ago

AlisCode commented 3 years ago

This crate wont actually be usable unless we provide a full working example of the process involved to generate a TS file from a Rust source module.

In the long run, we might also want to create a book that goes over how to use the default CLI, building your own CLI with hooks, and discussing the various tradeoffs made in this project.

AlisCode commented 3 years ago

Readme updated, now contains relevant examples on struct, enums, type alias support.

I'm guessing the next step is a full-blown website with a tutorial, live examples using typebinder compiled as WASM, blah blah blah.

I'm closing this, this is good enough for a first release.