jco icon indicating copy to clipboard operation
jco copied to clipboard

How do I use `js-component-bindgen`?

Open temeddix opened this issue 11 months ago • 1 comments

It seems that js-component-bindgen doesn't have any guides or usage examples that tells us how to use it. Some Rust developers don't have Node.js on their system and it would be nice to depend on pure-Rust solution for JS generation.

image image

docs.rs doesn't have anything, too.

temeddix avatar Mar 01 '24 01:03 temeddix

Here's how Jco builds itself if that is useful - https://github.com/bytecodealliance/jco/blob/main/xtask/src/build/jco.rs.

Agreed we should improve the documentation, would you be interested in providing some suggestions?

guybedford avatar Mar 01 '24 02:03 guybedford