bytecodealliance / wasm-tools

CLI and Rust libraries for low-level manipulation of WebAssembly modules
Apache License 2.0
1.36k stars 246 forks source link

`wasmparser`: use `semver` dependency only when `component-model` is enabled #1907

Closed Robbepop closed 2 weeks ago

Robbepop commented 2 weeks ago

I have looked up where the semver dependency is actually used in wasmparser and it seems to me that the only location where it actually is used is in the ComponentNameParser which is part of the component-model.

This helps to reduce compile time further when component-model is disabled.