[0.12.0] - 2023-09-10
⛰️ Features
- New
timeout
APIs (#61)
- Add
Vm::run_func_with_timeout
and Vm::run_func_async_with_timeout
. These APIs are used to run a host function with a timeout
- Add
Executor::run_func_with_timeout
and Executor::run_func_async_with_timeout
. These APIs are used to run a host function with a timeout
- Add
Func::run_with_timeout
and Func::run_async_with_timeout
. These APIs are used to run a host function with a timeout
- New API
Store::register_plugin_module
. This API is used to register a `PluginInstance`` into a store instance (#53)
- New type alias
PluginInstance
(#53)
🚜 Refactor
- [BREAKING] Merge
async
mod into wasi
mod (#55)
- [BREAKING] Update the return type of
PluginManager::find
from Option<Plugin>
to WasmEdgeResult<Plugin>
(#53)
- [BREAKING] Update the return type of
Plugin::mod_instance
from Option<Instance>
to WasmEdgeResult<PluginInstance>
(#53)
📚 Documentation
- Update WasmEdge RustSDK API Document (#55)
Contributors
@L-jasmine @hydai @apepkuss