Cargo Features
[dependencies]
wasmprinter = { version = "0.222.0", default-features = false, features = ["component-model"] }
- default = component-model
-
The
component-model
feature is set by default wheneverwasmprinter
is added without
somewhere in the dependency tree.default-features = false - component-model default
-
Enables component-model of wasmparser
wasmparser:
A feature that enables parsing and validating the component-model proposal for WebAssembly. This is enabled by default but if your use case is only interested in working with core modules then this feature can be disabled.
wasmprinter has 2 features without comments.