Cargo Features
[dependencies]
wasm-encoder = { version = "0.221.0", default-features = false, features = ["component-model", "wasmparser"] }
- default = component-model
-
The
component-model
feature is set by default wheneverwasm-encoder
is added without
somewhere in the dependency tree.default-features = false - 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
…