Getting started
Write and deploy Rust functions as web services
This page is outdated. Please visit here for the most up-to-date content.
Setup
# Prerequisite
$ sudo apt-get update
$ sudo apt install -y build-essential curl wget git vim libboost-all-dev
# Install rust
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
$ source $HOME/.cargo/env
# Install nvm
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
# Follow the on-screen instructions to logout and then log in
# Install node
$ nvm install v10.19.0
$ nvm use v10.19.0WebAssembly program in Rust
Upload the wasm file to FaaS
Run the function
What's next
Last updated
Was this helpful?