開発環境の準備

Rust compiler

rustupで最新の安定版を入れてください。

Linux, *BSD, MacOSの場合

$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
...
Rust is installed now. Great!

To get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH
environment variable. Next time you log in this will be done
automatically.

一度logout/loginすると、cargo, rustc などのcommandを使えるようになります。

ClientのWASM 開発用

Yewを使って、web browserで走るWASMを生成する場合、以下の wasm-pack も準備します。

$ cargo install wasm-pack