tweedegolf / mailcrab

Email test server for development, written in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unclear what is needed for development

peter-scholtens opened this issue · comments

It's unclear for me how to start the develop trajectory. Apparently I need to have a dist directory created by running trunk build. And also have rustup target add wasm32-unknown-unknown added. And then still it complains I need https://docs.rs/getrandom/latest/getrandom/#webassembly-support. Can you add that in the description part?

Thank you for the feedback. A frontend build should not be necessary, but I see the app complained if index.html does not exists. I fixed this in the latest release.

The wasm32-unknown-unknown target should be present after installing Trunk, but I have added a note to the README.

I do not know why you get an error related to getrandom , since I do not use this dependency directly in mailcrab. Which version if Rust are you using? Do you have a more detailed error output?

Note that you should not run cargo in the frontend directory , only trunk serve.

After pulling the latest version fc82196 the problems are gone. I can start the front-end, then the back-end then run the test, it works!