Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove public deps from
wasm-metadata
's API (#1130)
Currently whenever `wasmparser` or `wasm-encoder` have a major version bump this requires a major revision of `wasm-metadata` to be released due to their appearance in the API of `wasm-metadata`. This in turn forces a major version bump of `wit-component` due to `wit-component`'s usage of `wasm-metadata` in its public API. The `wasmparser` and `wasm-encoder` crates, however, are relatively "unstable" crates in that the amount of features they support for wasm are shifting quite a lot over time meaning that they have a lot of major version bumps. Coupling this rate of change to `wit-component` which is expected to be embedded in many WIT-related bindings generators I'm predicting won't be the best development story. To decouple these crates this commit removes the `wasmparser` and `wasm-encoder` types from the API of `wasm-metadata` by making them internal implementation details. After this it's possible to have a major revision of `wasmparser` without updating the major revision of `wasm-metadata` or `wit-component` for example.
- Loading branch information
1 parent
c91f611
commit 7cec276
Showing
6 changed files
with
75 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters