rust-webpack-template
rust-webpack-template copied to clipboard
Kickstart your Rust, WebAssembly, and Webpack project!
the trait `std::future::Future` is not implemented for `impl futures::future::Future` ### Steps to Reproduce (I'm using Ubuntu MATE-64bit on a Raspberry Pi4.) 1. Compile the template ### Expected Behavior The template...
Trying out the template with the recent webpack 5, it looks like the following change to the config is required to enable WebAssembly. Thanks!
I tried to initialize with yarn instead of npm. `yarn create rust-webpack test-app ` ERROR ``` yarn create v1.22.4 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building...
Would be helpful to have a web-worker example... I had lots of trouble getting that to load
Seems that `ts-loader` and/or `awesome-typescript-loader` don't play nicely with the async->sync import solution bindgen produces. This was already raised and closed here: https://github.com/rustwasm/wasm-bindgen/issues/700 but it might be helpful to have...
I'm trying to create a rust webpack project. I run the `npm init rust-webpack my-app` and I get the following error. ``` npm init rust-webpack rust-nuxt npx: installed 17 in...
The current implementation doesn't seem to run the function that was exported from Rust, `main_js()`. At first, I thought this was intentional, but the [current docs](https://github.com/rustwasm/wasm-pack/blob/master/docs/src/tutorials/hybrid-applications-with-webpack/using-your-library.md) which are out of...
I get a strange error trying to init the rust-webpack template: ``` C:\r>npm init rust-webpack rvr --verbose npm info it worked if it ends with ok npm verb cli [...
### Describe the Bug See the descriptive Cargo warning message: > warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected....