diff --git a/Cargo.lock b/Cargo.lock index 6df6ac26..9e7a57ef 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.259.0", ] [[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.259.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f7c12eac7bb587801590f6a67ff0bc84d0748513864b71108e4b311cc3df694" +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.259.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6390f4f02493ce678d509c859cf1698e38929fb75c8012a6ee2f7d6b6cb66cd7" +dependencies = [ + "anyhow", + "hashbrown 0.17.1", + "id-arena", + "indexmap 2.14.0", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-ident", + "wasmparser 0.259.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 810927ad..895f82c7 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.259.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).