#parser

no-std tinywasm-wasmparser

TinyWasm's fork of the wasmparser crate

5 releases

0.202.0 Mar 27, 2024
0.200.3 Feb 27, 2024
0.200.2 Feb 24, 2024
0.200.1 Feb 24, 2024
0.200.0 Feb 24, 2024

#263 in WebAssembly

Apache-2.0 WITH LLVM-exception

1MB
20K SLoC

tinywasm-wasmparser

docs.rs Crates.io Crates.io

No_std compatible fork of the wasmparser (200.0.0) crate for internal use in the tinywasm project. Since there doesn't seem to be interest in making the original crate no_std compatible (see issue), this fork was created. There's also anoter no_std fork of the original crate, but it's not actively maintained.

This crate can have breaking changes at any time for the sake of the tinywasm project, so it's not recommended to use it directly.

Changes from the original crate

  • Added no_std support
  • Added default implementation for all visit_* methods in the VisitOperator trait

License

This project is licensed under the Apache 2.0 license with the LLVM exception. See LICENSE for more details.

Dependencies

~1.7–2.3MB
~37K SLoC