Learning Rust Wasm/WebAssembly, Virtual Dom Dodrio, WebSocket communication and PWA (Progressive Web Apps) - part five
version: 5.0 date: 2019-12-31 author: bestia.dev repository: GitHub
Hashtags: #rustlang #game #tutorial
My projects on Github are more like a tutorial than a finished product: bestia-dev tutorials.
Documentation generated from source code:
The workspace mem5_game is made of projects:
- Wasm/WebAssembly (for browsers) frontend - mem5
- web server Warp backend - mem5_server
- common structures - mem5_common
Every project has its own readme.md.
Read also my
Previous projects on Github:
Working game server
You can play the game (mobile only) hosted on google cloud platform:
I prepared some flows and tasks for Cargo make for the workspace.
cargo make - lists the possible available/public flows/tasks
cargo make dev - builds the development version and runs the server and the browser
cargo make release - builds the release version and runs the server and the browser
cargo make audit - cargo audit warnings about dependencies
cargo make fmt - format source code
cargo make doc - build the
/target/docs folder and copy to the
cargo make sshadd - adds identity to ssh-agent for git and publish operations
cargo make gitpush - push the commits to github, uses ssh agent
cargo make publish - publish the webfolder to google vm
cargo make udeps - lists unused dependencies
cargo make loc - Lines Of Rust Code with tokei
cargo make depver - list of not latest dependencies
cargo crev reviews and advisory
It is recommended to always use cargo-crev
to verify the trustworthiness of each of your dependencies.
Please, spread this info.
On the web use this url to read crate reviews. Example:
TODO and CHANGELOG
Read files TODO.md and CHANGELOG.md.