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

bin+lib wast2json

A wast2json implementation written in Rust

2 unstable releases

0.1.0 Mar 3, 2024
0.0.0 Feb 27, 2024

#1218 in WebAssembly

Download history 36/week @ 2024-07-28 8/week @ 2024-09-22

65 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

~8MB
~148K SLoC