Skip to content

WasmEdge Rust SDK 0.13.0

Compare
Choose a tag to compare
@apepkuss apepkuss released this 15 Nov 12:24
· 102 commits to main since this release
a27724d

[0.13.0] - 2023-11-07

⛰️ Features

  • New API PluginManager::nn_preload. This API is used to initialize the wasi_nn plug-in with given preloads (#74)

  • Implement FromStr trait for NNPreload struct (#81)

🚜 Refactor

  • [BREAKING] Update the argument types (#82):

    • VmBuilder::with_plugin
    • VmBuilder::with_plugin_wasi_nn
    • VmBuilder::with_plugin_wasi_crypto
    • VmBuilder::with_plugin_wasmedge_process
  • [BREAKING] Update the argument types (#76):

    • Executor::run_func_with_timeout and Executor::run_func_async_with_timeout
    • Vm::run_func_with_timeout and Vm::run_func_async_with_timeout
    • Func::run_with_timeout and Func::run_async_with_timeout

🐛 Bug Fixes

  • Introduce new C-API WasmEdge_FunctionInstanceGetData to fix the memory leak issue caused by host data (#84)

Ci

  • Support macos-13 and remove macos-11 from the ci-build and standalone workflows (#84)