| 1 |
[package] |
| 2 |
name = "wasmprinter" |
| 3 |
version.workspace = true |
| 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/wasmprinter" |
| 9 |
homepage = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasmprinter" |
| 10 |
documentation = "https://docs.rs/wasmprinter" |
| 11 |
description = """ |
| 12 |
Rust converter from the WebAssembly binary format to the text format. |
| 13 |
""" |
| 14 |
rust-version.workspace = true |
| 15 |
|
| 16 |
[lints] |
| 17 |
workspace = true |
| 18 |
|
| 19 |
[dependencies] |
| 20 |
anyhow = { workspace = true } |
| 21 |
termcolor = { workspace = true } |
| 22 |
wasmparser = { workspace = true, features = ['std', 'simd'] } |
| 23 |
|
| 24 |
[dev-dependencies] |
| 25 |
wat = { path = "../wat" } |
| 26 |
|
| 27 |
[features] |
| 28 |
default = ['component-model', 'validate'] |
| 29 |
component-model = ['wasmparser/component-model'] |
| 30 |
validate = ['wasmparser/validate', 'wasmparser/features'] |