#wasm-binary #wast #json-format #binary-file

bin+lib wast2json

A wast2json implementation written in Rust

2 unstable releases

0.1.0 Mar 3, 2024
0.0.0 Feb 27, 2024

#948 in WebAssembly

Download history 112/week @ 2024-02-21 158/week @ 2024-02-28 26/week @ 2024-03-06 15/week @ 2024-03-13 11/week @ 2024-03-27 23/week @ 2024-04-03

51 downloads per month

Apache-2.0

51KB
1.5K SLoC

wast2json-rs

A wast2json implementation written in Rust.

Installation

You can download prebuilt binaries from the Release page.

You can also install from source using Cargo:

cargo install wast2json

Usage

The binary file is named wast2json-rs to allow installation alongside wabt's wast2json.

$ wast2json-rs wast2json spec-test.wast -o spec-test.json

Details about the output JSON format can be found on the wabt wast2json page.

Dependencies

~6.5MB
~123K SLoC