#abi #io-uring #serialization #calls #flawless #input

flawless-wasabi

A WebAssembly ABI for flawless, inspired by io_uring

17 releases

new 1.0.0-beta.2 Nov 21, 2024
1.0.0-beta.1 Oct 3, 2024
1.0.0-alpha.16+croatian-pine-marten Feb 26, 2024
1.0.0-alpha.10+finnish-reindeer Dec 14, 2023
0.0.1 Nov 20, 2023

#233 in WebAssembly

Download history 3/week @ 2024-07-25 3/week @ 2024-08-01 1/week @ 2024-08-08 2/week @ 2024-08-29 37/week @ 2024-09-19 40/week @ 2024-09-26 160/week @ 2024-10-03 22/week @ 2024-10-10 19/week @ 2024-10-17 13/week @ 2024-10-24 19/week @ 2024-10-31 9/week @ 2024-11-07

62 downloads per month
Used in 4 crates (2 directly)

BSD-2-Clause-Patent

7KB
155 lines

A WebAssembly ABI for flawless, inspired by io_uring.

Based on the idea that all calls between the guest and host space are done through one function called submit. This function will take a buffer as input and return a buffer as output. The input buffer contains commands serialized as JSON. Similarly, the output buffer will contain results of the commands serialized with JSON.

This crate contains the definitions of the types that are serialized and deserialized. It is shared between the guest and host.

Dependencies

~0.7–1.6MB
~35K SLoC