MoonZoon Development
1. Required tools
-
rustup update rustc -V # rustc 1.90.0 (1159e78c4 2025-09-14) -
cargo install cargo-make makers -V # cargo-make 0.37.24- Note:
cargo-makeis needed only for MoonZoon development and running its examples, you don't need it for your apps.
- Note:
2. VS Code settings
- Install Rust Analyzer
- Uncomment examples as needed in
.vscode/settings.json- Don't commit the change.
- Most examples are commented out to reduce compilation time and consumed operating memory.
3. Start example
cd examples
cd chat # or another example from the `examples` directory
makers mzoon start -o # add -r for the release mode
4. Rebuild all examples
# in the root:
makers in_examples clean
makers in_examples mzoon build
5. Have fun!
Note: You can kill a zombie server on Linux with kill -9 $(lsof -t -i:8080)