diff --git a/Cargo.lock b/Cargo.lock index 6df6ac269..467af3ca9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -279,10 +279,10 @@ dependencies = [ "syn 2.0.118", "toml", "toml_edit", - "wasmparser", + "wasmparser 0.247.0", "which", "wit-component", - "wit-parser", + "wit-parser 0.257.1", ] [[package]] @@ -1549,7 +1549,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "30b6733b8b91d010a6ac5b0fb237dc46a19650bc4c67db66857e2e787d437204" dependencies = [ "leb128fmt", - "wasmparser", + "wasmparser 0.247.0", ] [[package]] @@ -1561,7 +1561,7 @@ dependencies = [ "anyhow", "indexmap 2.14.0", "wasm-encoder", - "wasmparser", + "wasmparser 0.247.0", ] [[package]] @@ -1577,6 +1577,17 @@ dependencies = [ "serde", ] +[[package]] +name = "wasmparser" +version = "0.257.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d92fc335fb6d48f46bda1d8b26b69e28320c15ac3272208333833d6e217e2b4a" +dependencies = [ + "bitflags", + "indexmap 2.14.0", + "semver", +] + [[package]] name = "web-sys" version = "0.3.103" @@ -1697,8 +1708,8 @@ dependencies = [ "serde_json", "wasm-encoder", "wasm-metadata", - "wasmparser", - "wit-parser", + "wasmparser 0.247.0", + "wit-parser 0.247.0", ] [[package]] @@ -1717,7 +1728,26 @@ dependencies = [ "serde_derive", "serde_json", "unicode-xid", - "wasmparser", + "wasmparser 0.247.0", +] + +[[package]] +name = "wit-parser" +version = "0.257.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f815340f0bb65d9775ae21e56b503b496683557b9b627b195d2766c25fb24ae" +dependencies = [ + "anyhow", + "hashbrown 0.17.1", + "id-arena", + "indexmap 2.14.0", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-ident", + "wasmparser 0.257.1", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 810927add..bc5ac25ba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -128,7 +128,7 @@ sha2 = "0.10" # accepted from wit-parser 0.247 on. Since these crates ARE the gate's oracle, a floating version # would let the oracle drift off the floor the generated WIT is written against. Bump all three # together, and only with a re-probe of the keyword set (`generation::wit::WIT_KEYWORDS`). -wit-parser = "=0.247.0" +wit-parser = "=0.257.1" # Deliberately default-features: the `dummy-module` feature gates a `ComponentEncoder` path that is a # FALSE ORACLE for worlds exporting resources (it fails a package that resolves, encodes, validates # and builds).