#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

#1127 in WebAssembly

Download history 33/week @ 2024-07-26 3/week @ 2024-08-02

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
~147K SLoC