WasmEdge Rust SDK provides idiomatic Rust language bindings for WasmEdge
Notice: This project is still under active development and not guaranteed to have a stable API.
Since this crate depends on the WasmEdge C API, it needs to be installed in your system first. Please refer to WasmEdge Installation and Uninstallation to install the WasmEdge library. The versioning table below shows the version of the WasmEdge library required by each version of the wasmedge-sdk
crate.
wasmedge-sdk | WasmEdge lib | wasmedge-sys | wasmedge-types | wasmedge-macro |
---|---|---|---|---|
0.8.1 | 0.12.1 | 0.13.1 | 0.4.1 | 0.3.0 |
0.8.0 | 0.12.0 | 0.13.0 | 0.4.1 | 0.3.0 |
0.7.1 | 0.11.2 | 0.12.2 | 0.3.1 | 0.3.0 |
0.7.0 | 0.11.2 | 0.12 | 0.3.1 | 0.3.0 |
0.6.0 | 0.11.2 | 0.11 | 0.3.0 | 0.2.0 |
0.5.0 | 0.11.1 | 0.10 | 0.3.0 | 0.1.0 |
0.4.0 | 0.11.0 | 0.9 | 0.2.1 | - |
0.3.0 | 0.10.1 | 0.8 | 0.2 | - |
0.1.0 | 0.10.0 | 0.7 | 0.1 | - |
WasmEdge Rust SDK can automatically search the following paths for the WasmEdge library:
/usr/local
(Linux/macOS)$HOME/.wasmedge
(Linux/macOS)
If you have installed the WasmEdge library in a different path, you can set the WASMEDGE_INCLUDE_DIR
and WASMEDGE_LIB_DIR
environment variables to the path of the WasmEdge library.
Notice: The minimum supported Rust version is 1.67.
The Examples of WasmEdge RustSDK repo contains a number of examples that demonstrate how to use the WasmEdge Rust SDK.
Please read the contribution guidelines on how to contribute code.
This project is licensed under the terms of the Apache 2.0 license.