Skip to main content

Crate wasi_dbms_memory

Crate wasi_dbms_memory 

Source
Expand description

WASI file-backed MemoryProvider implementation for wasm-dbms.

This crate provides WasiMemoryProvider, a persistent storage backend that uses a single flat file on the filesystem. It enables wasm-dbms to run on any WASI-compliant runtime (Wasmer, Wasmtime, WasmEdge, etc.) with durable data persistence.

The backing file is byte-for-byte equivalent to IC stable memory: a contiguous sequence of 64 KiB pages, zero-filled on allocation.

Structsยง

WasiMemoryProvider
File-backed MemoryProvider for WASI runtimes.