rust

  1. curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

wasm-pack

  1. curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

cargo-generate

  1. cargo install cargo-generate

nodejs

https://nodejs.org/en/download/current/

openssl

  1. apt-get install libssl-dev pkg-config

wasm-bindgen

  1. cargo install wasm-bindgen-cli

web-sys

cargo.toml

  1. [dependencies]
  2. wasm-bindgen = "0.2.68"
  3. web-sys = { version="0.3.45", features=[ "console" ] }