#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

#983 in WebAssembly

Download history 259/week @ 2024-02-27 35/week @ 2024-03-05 17/week @ 2024-03-12 2/week @ 2024-03-26 32/week @ 2024-04-02 148/week @ 2024-04-23

148 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