summaryrefslogblamecommitdiffhomepage
path: root/src/rust/README.md
blob: a48e2cd7ecc79b56602958d7199f57ffbc50dff0 (plain) (tree)
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-wasi. `rustup target add wasm32-wasi`

## 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.