8 releases

0.4.0 Nov 26, 2022
0.3.0 Jan 4, 2022
0.2.4 Jan 4, 2022
0.2.3 Dec 21, 2021
0.1.0 Dec 14, 2021

#1076 in Embedded development

40 downloads per month
Used in 3 crates

MPL-2.0 license

13KB
163 lines

Embedded WASM Specification

A set of .witx specifications for embedded device interfaces, with the goal of providing a common language and platform independent runtime to support cross device/platform/architecture embedded applications.

This repository provides the reference specification as well as language specific helpers/adaptors to assist with platform implementations.

For a more detailed overview you may like to check out the book.

Status

ci Crates.io Docs.rs

Extremely alpha. Currently working to refactor / split out components from a frightening monolith, plenty of exploration required yet and the wasi call convention and witx format are moving targets.

Layout

  • ./witx contains the .witx API specifications
  • ./src provides a rust library generated using these specs (including platform abstractions)
  • ./lib contains C headers for platform implementations
  • ./tests contains test definitions for implementation by platforms and HALs

Dependencies

~0.1–16MB
~158K SLoC