/wasmedge_hostfunctionexample_interface

This is an example to create a host function interface for calling the WasmEdge internal host functions.

Primary LanguageRustApache License 2.0Apache-2.0

WasmEdge Host Function Example Interface

A Rust library that provides Rust to WebAssembly developers with syntax for running self-defined host functions when their Wasm is being executed on WasmEdge (formerly SSVM).

How to use this library

Rust dependency

Developers will add the wasmedge_hostfunctionexample_interface crate as a dependency to their Rust -> Wasm applications. For example, add the following line to the application's Cargo.toml file.

[dependencies]
wasmedge_hostfunctionexample_interface = "^1.0.0"