diff --git a/Cargo.lock b/Cargo.lock index 1d2a883a..26134385 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -280,10 +280,10 @@ dependencies = [ "syn 2.0.118", "toml", "toml_edit", - "wasmparser", + "wasmparser 0.247.0", "which", "wit-component", - "wit-parser", + "wit-parser 0.260.0", ] [[package]] @@ -1550,7 +1550,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "30b6733b8b91d010a6ac5b0fb237dc46a19650bc4c67db66857e2e787d437204" dependencies = [ "leb128fmt", - "wasmparser", + "wasmparser 0.247.0", ] [[package]] @@ -1562,7 +1562,7 @@ dependencies = [ "anyhow", "indexmap 2.14.0", "wasm-encoder", - "wasmparser", + "wasmparser 0.247.0", ] [[package]] @@ -1578,6 +1578,17 @@ dependencies = [ "serde", ] +[[package]] +name = "wasmparser" +version = "0.260.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c94519d78304dc4a4bb5925eda6ff153bf06167467cff9233dc9593bae28fdd" +dependencies = [ + "bitflags", + "indexmap 2.14.0", + "semver", +] + [[package]] name = "web-sys" version = "0.3.103" @@ -1698,8 +1709,8 @@ dependencies = [ "serde_json", "wasm-encoder", "wasm-metadata", - "wasmparser", - "wit-parser", + "wasmparser 0.247.0", + "wit-parser 0.247.0", ] [[package]] @@ -1718,7 +1729,26 @@ dependencies = [ "serde_derive", "serde_json", "unicode-xid", - "wasmparser", + "wasmparser 0.247.0", +] + +[[package]] +name = "wit-parser" +version = "0.260.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3152a979bbe19638bb0655cc919d5a68ba1b7b2258f8f43f7c74430004ae7f5e" +dependencies = [ + "anyhow", + "hashbrown 0.17.1", + "id-arena", + "indexmap 2.14.0", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-ident", + "wasmparser 0.260.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index aa4c7904..51a7cd36 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -132,7 +132,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.260.0" # 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).