#codec #waxosuit #key-value-store #wascap

yanked wascap-codec

Encoding and decoding primitives for the wascap WebAssembly libraries

0.1.1 Sep 3, 2019
0.1.0 Aug 22, 2019
0.0.2 Jun 27, 2019
0.0.1 Jun 20, 2019

#6 in #waxosuit


Used in wascap-guest

Apache-2.0

12KB
148 lines

crates.io  travis  license

WebAssembly Standard Capabilities - Codec

Underneath waxosuit lies a WebAssembly RPC mechanism based on raw binary message exchange between the Wasm guest module and the host runtime. This crate contains protocol buffer types and helper methods for the well-known messages and operations that Waxosuit must support out of the box, including messaging, key-value store, and HTTP client/server.

NOTE: Version 0.1.0 was a breaking change to the public interface between Wasm guest module and host. You should not be using anything earlier than that.

This project is in its infancy and more documentation is forthcoming.


lib.rs:

wascap-codec

This library provides the core set of types and associated functions used to facilitate guest module and host runtime communication for Waxosuit.

HTTP server capability data structures

This module contains data types for the wascap:http_server capability.

Core data types

This module contains data types used for Wascap guest module and host runtime communications

Message Broker Data Types

This module contains data types for the wascap:messaging capability provider

Key-Value Store Data Types

This module contains data types for the wascap:keyvalue capability provider

Dependencies

~5.5–8.5MB
~165K SLoC