Hello! I'm experimenting with jco
as an alternative to wasm-pack
for providing JS bindings to a library I'm writing. The library is written in Rust as a bunch of separate crates, and I was hoping I could:
jco transpile
on the wrapper component to get nice JS bindings with types and stuff, rather than having to write a bunch of bindings by hand like I do for wasm-pack
. Plus the component could be used from other languages, too.I've been trying to do this for a little while and have got a bit stuck, so figured it's time to ask!
@bsull/library/foo
didn't also have to instantiate @bsull/library/bar
, etc. That might be a pipe dream and require a manual wrapper library though?aside, I've been impressed with how much all of the tooling 'just works' so far (when I get things lined up correctly), thanks for that!
Last updated: Nov 22 2024 at 17:03 UTC