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

flawless-wasabi

A WebAssembly ABI for flawless, inspired by io_uring

18 releases

1.0.0-beta.3 Dec 9, 2024
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
0.0.1 Nov 20, 2023

#218 in WebAssembly

Download history 27/week @ 2024-09-18 50/week @ 2024-09-25 156/week @ 2024-10-02 24/week @ 2024-10-09 19/week @ 2024-10-16 13/week @ 2024-10-23 18/week @ 2024-10-30 12/week @ 2024-11-06 2/week @ 2024-11-13 170/week @ 2024-11-20 21/week @ 2024-11-27 147/week @ 2024-12-04 58/week @ 2024-12-11 5/week @ 2024-12-18

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

BSD-2-Clause-Patent

7KB
156 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
~34K SLoC