This crate predates upstream support for converting between wasmparser and wasm-encoder types in wasm-encoder. You can currently use wasm_encoder::reencode for a superset of this functionality.
pchickey/wasm-convert
Utility library to convert from `wasmparser` types to `wasm-encoder` types