Crates.io | wast |
lib.rs | wast |
version | |
source | src |
created_at | 2019-10-16 22:15:44.714072 |
updated_at | 2024-12-02 22:48:25.50472 |
description | Customizable Rust parsers for the WebAssembly Text formats WAT and WAST |
homepage | https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wast |
repository | https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wast |
max_upload_size | |
id | 173161 |
Cargo.toml error: | TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Add wast
to your Cargo.toml
$ cargo add wast
The intent of this crate is to provide utilities, combinators, and built-in types to parse anything that looks like a WebAssembly s-expression.
*.wat
file?*.wast
file?If you'd like to do any of the above this crate might be right for you! You may
also want to check out the wat
crate which provides a much more stable
interface if all you'd like to do is convert *.wat
to *.wasm
.
By default this crate enables and exports support necessary to parse *.wat
and
*.wast
files, or in other words entire wasm modules. If you're using this
crate, however, to parse simply an s-expression wasm-related format (like
*.witx
or *.wit
perhaps) then you can disable the default set of features to
only include a lexer, the parsing framework, and a few basic token-related
parsers.
$ cargo add wast --no-default-features
This project is licensed under the Apache 2.0 license with the LLVM exception. See LICENSE for more details.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.