WasmEdge Rust bindings consist of the following crates. They together provide different levels of APIs for Rust developers to use WasmEdge runtime. For example, wasmedge-sdk
defines the high-level APIs for application development.
The following table provides the versioning information about each crate of WasmEdge Rust bindings.
wasmedge-sdk | WasmEdge lib | wasmedge-sys | wasmedge-types | wasmedge-macro |
---|---|---|---|---|
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 | - |
The wasmedge-sdk
crate defines a group of high-level Rust APIs, which are used to build up business applications.
The wasmedge-sys
crate defines a group of low-level Rust APIs for WasmEdge, a light-weight, high-performance, and extensible WebAssembly runtime for cloud-native, edge, and decentralized applications.
The wasmedge-types
crate defines a group of common data structures used by both wasmedge-rs and wasmedge-sys crates.
The wasmedge-macro crate defines a group of procedural macros used by both wasmedge-sdk and wasmedge-sys crates.