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:
https://bestia-dev.github.io/mem5_game/mem5/index.html
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:
https://github.com/bestia-dev/mem4_game
You can play the game (mobile only) hosted on google cloud platform:
https://bestia.dev/mem5
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 /docs
folder
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
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:
https://web.crev.dev/rust-reviews/crate/num-traits/
Read files TODO.md and CHANGELOG.md.
My open-source projects are free as a beer (MIT license).
I just love programming.
But I need also to drink. If you find my projects and tutorials helpful, please buy me a beer by donating to my PayPal.
You know the price of a beer in your local bar ;-)
So I can drink a free beer for your health :-)
Na zdravje! Alla salute! Prost! Nazdravlje! 🍻
//bestia.dev
//github.com/bestia-dev
//bestiadev.substack.com
//youtube.com/@bestia-dev-tutorials