Pauan

Results 1228 comments of Pauan

This is definitely a Vite bug. They claim that [they fixed it](https://github.com/vitejs/vite/pull/9723), but it seems that it's not fixed.

@CryZe That is not the case, because the methods are marked as `Self: Sized`, so they are not included in the trait object: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=4372db0df1f24f8652e33c5473480341

I also create Chrome extensions with Rust, have you seen this section of the README? https://github.com/wasm-tool/rollup-plugin-rust?tab=readme-ov-file#chrome--firefox-extensions

Sorry for the delay on this, I've been quite busy, but I plan to look at this soon.

@BaderBC Thanks for the reminder! So I checked, and this plugin works completely fine with Chrome extensions (including manifest 3). I created a simple example, which you can build with...

@mysterycommand It is not necessary to have ESM integration, instead you can use `--target web`. This is what the [Rollup plugin](https://github.com/wasm-tool/rollup-plugin-rust#readme) does. In that case the boilerplate, fetching, and imports...

@mysterycommand I personally would not recommend using `--target nodejs`, because it is synchronous. Instead you can use `--target web` with NodeJS, you just need to pass a `Promise` to the...

@JackRobards Sorry about that, we forgot to include the changes in 5.9.13, so they'll be in 5.9.14 instead.

I'm creating a custom CAM program for CNC machines. The program loads an image, and then iterates over the pixels of the image to generate the GCode. But it needs...

@Lokathor That same argument can be made for *all* of the built-in derives in Rust.