summaryrefslogtreecommitdiffhomepage
path: root/src/rust/README.md
blob: 2cf872103ca1d45935c0ee5bf0cc6b6242b5aeb6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Quickstart in Developing Rust WebAssembly Modules for Unit

The current version is published to crates.io. To get started with the SDK
include `unit-wasm` as dependency.

```
cargo add unit-wasm
```

## Prerequisites

- target add wasm32-wasip1. `rustup target add wasm32-wasip1`

## From Source

The Rust implementation is in an early stage. If you would like to build the
crate by yourself, we have to generate the `libunit-wasm` first. This step is
NOT included in the build process.