Cargo Features

wai-bindgen = { version = "0.1.0", default-features = false, features = ["validation", "binary_encode"] }
default = validation

The validation feature is set by default whenever wai-bindgen is added without default-features = false somewhere in the dependency tree.

validation default = wasmparser

Affects wai-bindgen::validate

binary_encode = bincode

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

bincode binary_encode?
wasmparser validation

Enables wasmparser ^0.51.4