This monorepo contains the client & server crates for a WIP rust game.
- This project is using VSCode and the rust-analyzer extension
- Make sure you have installed
clippy
andrustfmt
rustup component add clippy
rustup component add rustfmt
- Make sure you have installed
- Targetting other platforms:
- To target WASM add
"rust-analyzer.cargo.target": "wasm32-unknown-unknown"
to the workspace/user settings - To target your local machine set it to whatever you local machine is:
- Check with:
rustc --print cfg
, it's usually "{target_arch}-{target-vendor}-{target_os}-{target_env}"- E.g. mac os:
x86_64-apple-darwin
- E.g. linux gnu:
x86_64-unknown-linux-gnu
- E.g. mac os:
- Or just comment out the "rust-analyzer.cargo.target" line, analyzer should default to your system.
- Check with:
- To target WASM add