Cargo Features

WASM-AST has no features set by default.

[dependencies]
wasm-ast = { version = "0.1.0", features = ["full", "emitter", "parser", "text"] }
full = emitter, text
emitter full?

Affects wasm-ast::emitter

parser text? = nom

Affects wasm-ast::parser

text full? = parser, wat

Affects parser::parse_text

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

nom parser?
wat text?