I have been writing some web apps using Rust and WebAssembly. It is awesome.
While writing something from scratch was not a problem, I am unsure about how to migrate an existing js library in an incremental way. The library has a grunt file for packaging and testing.
I remember reading a blog post about migrating a C codebase to Rust in which the author converted some parts while keeping the others in C, and this was repeated until everything was on rust. I would like to take the same path here, but I am not sure how. Any suggestions?