Crates.io | wasm-bus-fuse |
lib.rs | wasm-bus-fuse |
version | 1.1.0 |
source | src |
created_at | 2022-01-02 14:25:59.836679 |
updated_at | 2022-03-06 23:10:31.726747 |
description | WebAssembly fuse bus interface |
homepage | |
repository | https://github.com/john-sharratt/ate |
max_upload_size | |
id | 506561 |
size | 107,920 |
The WASM Fuse Bus allows WebAssembly modules to expose a file system to any runtime that supports the WASM General Purpose Bus
A reference implementation exists here: https://github.com/tokera-com/ate/blob/master/tokera/src/bus/main.rs
However this remains quite a low-level integration, once macros are defined that can emit the code for this interface it will be superceded by a similar implementation.
In order to implment this BUS on your runtime one needs to chain to the ABI exposed in this library and implement the functions.
For a reference implementation see below:
https://github.com/tokera-com/ate/tree/master/tokterm/src/bus
You can test your WASI program by uploading it to wapm.io and then heading over to the Tokera Shell