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 whenever wasmprinter is added without default-features = false somewhere in the dependency tree.

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.