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
somewhere in the dependency tree.default-features = false - 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. - 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
…