[dependencies.bumpalo]
version = "3.14.0"
[dependencies.gimli]
optional = true
version = "0.30.0"
[dependencies.leb128]
version = "0.2.4"
[dependencies.memchr]
version = "2.4.1"
[dependencies.unicode-width]
version = "0.1.9"
[dependencies.wasm-encoder]
version = "0.216.0"
[dev-dependencies.anyhow]
version = "1.0.58"
[dev-dependencies.libtest-mimic]
version = "0.7.0"
[dev-dependencies.rand]
features = ["small_rng"]
version = "0.8.4"
[features]
default = ["wasm-module"]
dwarf = ["dep:gimli"]
wasm-module = []
[lib]
name = "wast"
path = "src/lib.rs"
[lints.clippy]
clone_on_copy = "warn"
manual_strip = "warn"
map_clone = "warn"
unnecessary_to_owned = "warn"
[lints.clippy.all]
level = "allow"
priority = -1
[lints.rust]
unsafe_code = "deny"
[package]
authors = ["Alex Crichton <alex@alexcrichton.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = """
Customizable Rust parsers for the WebAssembly Text formats WAT and WAST
"""
documentation = "https://docs.rs/wast"
edition = "2021"
homepage = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wast"
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
name = "wast"
readme = "README.md"
repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wast"
rust-version = "1.76.0"
version = "216.0.0"
[package.metadata.docs.rs]
all-features = true
[[test]]
name = "annotations"
path = "tests/annotations.rs"
[[test]]
name = "comments"
path = "tests/comments.rs"
[[test]]
harness = false
name = "parse-fail"
path = "tests/parse-fail.rs"
[[test]]
name = "recursive"
path = "tests/recursive.rs"