wasm_run 0.2.0+2 copy "wasm_run: ^0.2.0+2" to clipboard
wasm_run: ^0.2.0+2 copied to clipboard

Web Assembly executor. Uses Rust's wasmtime optimizing runtime or wasmi interpreter.

0.2.0+2 #

  • Add .dart_tool/lib to the library locator for dart-only environments

0.2.0+1 #

  • Fix instance dispose

0.2.0 #

  • flutter_rust_bridge: ^2.12.0
  • dart-sdk: ^3.10.0
  • WasmRunLibrary, setUpDesktopDynamicLibrary, uriForPackage and getUriBodyBytes utilities
  • Use dart build hooks for sourcing the binaries
  • (BREAKING) remove bin/setup, setUpDesktopDynamicLibrary and WasmRunLibrary.setUp's override argument

0.1.0+2 #

  • [FIX] Use lowercase String comparison for Safari WASM functions. PR thanks to michelerenzullo

0.1.0+1 #

  • Expose wasm_run:setup CLI

0.1.0 #

  • flutter_rust_bridge: ">=1.82.4"
  • Use Wasmi 0.31 and Wasmtime 14.0
  • WasmRunLibrary, setUpDesktopDynamicLibrary, uriForPackage and getUriBodyBytes utilities
  • [BREAKING] add WasmInstanceBuilder.module and WasmInstanceBuilder.wasiOpenFile
  • loadAssets with rootBundle.load from 'flutter/services.dart'

0.0.1+3 #

  • Expose wasm_run:setup CLI

0.0.1+2 #

  • Restrict flutter_rust_bridge: ">=1.72.2 <1.80.0" due to breaking change
  • Improve undefined (empty) returns in wasm functions in web for Dart 3

0.0.1+1 #

  • Fix web asset loading for Flutter web

0.0.1 #

  • Initial version 2023-05-22
18
likes
150
points
97
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Web Assembly executor. Uses Rust's wasmtime optimizing runtime or wasmi interpreter.

Repository (GitHub)
View/report issues

Topics

#wasm #interop #runtime #interpreter #ffi

License

MIT (license)

Dependencies

build_rust_binaries, collection, ffi, flutter_rust_bridge, freezed_annotation, logging, meta, web

More

Packages that depend on wasm_run