#wasm-edge #store #storage #load #syntax #data #interface

wasmedge_storage_interface

A Rust library that provides Rust to WebAssembly developers with syntax for load and store functionality

1 unstable release

0.2.0 May 20, 2021

#1091 in WebAssembly

Custom license

35KB
529 lines

Rust Storage Interface Library

A Rust library that provides Rust to WebAssembly developers with syntax for "load" & "store" functionality for their data when their Wasm is being executed on SecondState's WasmEdge.

From a high-level overview here, we are essentially building a storage interface that will allow the native operating system (which WasmEdge is running on) to play a part in the runtime execution. Specifically, play a part in facilitating the storing and loading of data as part of Wasm execution.

How to use this library

Please see the official specification for this storage interface for more information.

Crates.io

The official crate is available at crates.io


lib.rs:

How to use this crate

Adding this as a dependency

[dependencies]
rust_storage_interface_library = "^0.1"

Bringing this into scope

use rust_storage_interface_library::wasmedge_storage;

Tests

cargo test --lib

Dependencies

~0.7–1.3MB
~30K SLoC