| 1 |
[package] |
| 2 |
name = "wat" |
| 3 |
version = "1.239.0" |
| 4 |
authors = ["Alex Crichton <[email protected]>"] |
| 5 |
edition.workspace = true |
| 6 |
license.workspace = true |
| 7 |
readme = "README.md" |
| 8 |
repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wat" |
| 9 |
homepage = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wat" |
| 10 |
documentation = "https://docs.rs/wat" |
| 11 |
description = """ |
| 12 |
Rust parser for the WebAssembly Text format, WAT |
| 13 |
""" |
| 14 |
rust-version.workspace = true |
| 15 |
|
| 16 |
[package.metadata.docs.rs] |
| 17 |
all-features = true |
| 18 |
|
| 19 |
[lints] |
| 20 |
workspace = true |
| 21 |
|
| 22 |
[dependencies] |
| 23 |
wast = { workspace = true, features = ['wasm-module'] } |
| 24 |
|
| 25 |
[features] |
| 26 |
default = ['component-model'] |
| 27 |
|
| 28 |
# Off-by-default feature to support emitting DWARF debugging information in |
| 29 |
# parsed binaries pointing back to source locations in the original `*.wat` |
| 30 |
# source. |
| 31 |
dwarf = ['wast/dwarf'] |
| 32 |
|
| 33 |
# On-by-default feature to support parsing the component model text format. |
| 34 |
component-model = ['wast/component-model'] |