Crates.io | wasm-bus-tok |
lib.rs | wasm-bus-tok |
version | 1.0.0 |
source | src |
created_at | 2022-03-06 23:13:39.031061 |
updated_at | 2022-03-06 23:13:39.031061 |
description | WebAssembly fuse bus interface |
homepage | |
repository | https://github.com/john-sharratt/ate |
max_upload_size | |
id | 544704 |
size | 4,611 |
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