Cargo Features
[dependencies]
wasm-encoder = { version = "0.222.0", default-features = false, features = ["std", "component-model", "wasmparser"] }
- default = component-model, std
-
These default features are set whenever
wasm-encoder
is added without
somewhere in the dependency tree.default-features = false - std default
-
A feature which enables implementations of
std::error::Error
as appropriate. - component-model default
-
On-by-default: conditional support for emitting components in addition to core modules.
Enables component-model of optional wasmparser
Enable this dependency to get a bunch of
From<wasmparser::Foo> for wasm_encoder::Foo
impls.
Features from optional dependencies
- wasmparser implicit feature
-
Affects
wasm-encoder::reencode
…