Cargo Features

[dependencies]
wasmparser = { version = "0.207.0", default-features = false, features = ["std", "validate"] }
default = std, validate

These default features are set whenever wasmparser is added without default-features = false somewhere in the dependency tree.

std default

A feature which enables implementations of std::error::Error as appropriate along with other convenience APIs. This additionally uses the standard library's source of randomness for seeding hash maps.

Enables std of indexmap

validate default

A feature that enables validating WebAssembly files. This is enabled by default but not required if you're only parsing a file, for example, as opposed to validating all of its contents.

Enables ahash, hashbrown, indexmap, and semver

Affects wasmparser::map