Thanks to visit codestin.com
Credit goes to lib.rs

Cargo Features

[dependencies]
wasmprinter = { version = "0.239.0", default-features = false, features = ["component-model", "validate"] }
default = component-model, validate

These default features are set 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.

validate default

Enables features and validate of wasmparser

wasmprinter has 3 features without comments.