A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
Update wasm-tools dependencies (#11821)
Alex Crichton76e5a9e0a96e
diff --git a/Cargo.lock b/Cargo.lockindex 9b6d84ebb5..ef0e70d8ae 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -625,7 +625,7 @@ dependencies = ["test-programs-artifacts","tokio","wasm-compose",- "wasmparser 0.239.0",+ "wasmparser 0.240.0","wasmtime","wasmtime-wasi",]@@ -2166,14 +2166,14 @@ dependencies = [[[package]]name = "json-from-wast"-version = "0.239.0"+version = "0.240.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "10e0969e6cddea32e749f84d2422e042699c3dbc24f33b3f089859db7d75185b"+checksum = "ef6dcc7760296afbd208c99719349a60b0a2c9eb6b13d6124eda0bdf698e111f"dependencies = ["anyhow","serde","serde_derive",- "wast 239.0.0",+ "wast 240.0.0",][[package]]@@ -3649,7 +3649,7 @@ dependencies = ["wasmtime","wasmtime-test-util","wat",- "wit-component",+ "wit-component 0.240.0",][[package]]@@ -4070,7 +4070,7 @@ name = "verify-component-adapter"version = "39.0.0"dependencies = ["anyhow",- "wasmparser 0.239.0",+ "wasmparser 0.240.0","wat",]@@ -4171,7 +4171,7 @@ dependencies = ["byte-array-literals","object 0.37.3","wasi 0.11.0+wasi-snapshot-preview1",- "wasm-encoder",+ "wasm-encoder 0.240.0","wit-bindgen-rust-macro",]@@ -4247,9 +4247,9 @@ checksum = "6ee99da9c5ba11bd675621338ef6fa52296b76b83305e9b6e5c77d4c286d6d49"[[package]]name = "wasm-compose"-version = "0.239.0"+version = "0.240.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "d0ec5bc51a265c73434ede0659536ac9af486eebf0397ff073bfb19093421cd8"+checksum = "feeb9a231e63bd5d5dfe07e9f8daa53d5c85e4f7de5ef756d3b4e6a5f501c578"dependencies = ["anyhow","heck 0.4.1",@@ -4261,8 +4261,8 @@ dependencies = ["serde_derive","serde_yaml","smallvec",- "wasm-encoder",- "wasmparser 0.239.0",+ "wasm-encoder 0.240.0",+ "wasmparser 0.240.0","wat",]@@ -4276,6 +4276,16 @@ dependencies = ["wasmparser 0.239.0",]+[[package]]+name = "wasm-encoder"+version = "0.240.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "06d642d8c5ecc083aafe9ceb32809276a304547a3a6eeecceb5d8152598bc71f"+dependencies = [+ "leb128fmt",+ "wasmparser 0.240.0",+]+[[package]]name = "wasm-metadata"version = "0.239.0"@@ -4284,36 +4294,48 @@ checksum = "20b3ec880a9ac69ccd92fbdbcf46ee833071cf09f82bb005b2327c7ae6025ae2"dependencies = ["anyhow","indexmap 2.7.0",- "wasm-encoder",+ "wasm-encoder 0.239.0","wasmparser 0.239.0",]+[[package]]+name = "wasm-metadata"+version = "0.240.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ee093e1e1ccffa005b9b778f7a10ccfd58e25a20eccad294a1a93168d076befb"+dependencies = [+ "anyhow",+ "indexmap 2.7.0",+ "wasm-encoder 0.240.0",+ "wasmparser 0.240.0",+]+[[package]]name = "wasm-mutate"-version = "0.239.0"+version = "0.240.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "27725e1c0a17d26b106d3f1f33b7d9734f0303973a0d61aeda548a421e6ee121"+checksum = "1c3920237c62205fa324bb95adfea1bcd82eb69c502aed592137e068e46369ff"dependencies = ["egg","log","rand 0.9.2","thiserror 2.0.12",- "wasm-encoder",- "wasmparser 0.239.0",+ "wasm-encoder 0.240.0",+ "wasmparser 0.240.0",][[package]]name = "wasm-smith"-version = "0.239.0"+version = "0.240.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "740315856034a7417b7d291bdfe0d7ff34a6b08541fa10af47d7a00c694cac1e"+checksum = "b26182fa45cae2b8dfe17c65fdcd58fa780b47ea4ec5fb5f546aa67359ff6270"dependencies = ["anyhow","arbitrary","flagset","serde","serde_derive",- "wasm-encoder",+ "wasm-encoder 0.240.0","wat",]@@ -4327,14 +4349,14 @@ dependencies = [[[package]]name = "wasm-wave"-version = "0.239.0"+version = "0.240.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "eb21d7c71e0571ca78cc756606094d8d973116b7eaba8d40a23e7c4859061920"+checksum = "d7a5973f54d40fe11b346f0f4995f7468d61d46c270d1dfe4f40a13b9d0d6723"dependencies = ["indexmap 2.7.0","logos","thiserror 2.0.12",- "wit-parser",+ "wit-parser 0.240.0",][[package]]@@ -4396,6 +4418,18 @@ name = "wasmparser"version = "0.239.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "8c9d90bb93e764f6beabf1d02028c70a2156a6583e63ac4218dd07ef733368b0"+dependencies = [+ "bitflags 2.6.0",+ "hashbrown 0.15.2",+ "indexmap 2.7.0",+ "semver",+]++[[package]]+name = "wasmparser"+version = "0.240.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b722dcf61e0ea47440b53ff83ccb5df8efec57a69d150e4f24882e4eba7e24a4"dependencies = ["bitflags 2.6.0","hashbrown 0.15.2",@@ -4406,13 +4440,13 @@ dependencies = [[[package]]name = "wasmprinter"-version = "0.239.0"+version = "0.240.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "b3981f3d51f39f24f5fc90f93049a90f08dbbca8deba602cd46bb8ca67a94718"+checksum = "a84d6e25c198da67d0150ee7c2c62d33d784f0a565d1e670bdf1eeccca8158bc"dependencies = ["anyhow","termcolor",- "wasmparser 0.239.0",+ "wasmparser 0.240.0",][[package]]@@ -4457,9 +4491,9 @@ dependencies = ["target-lexicon","tempfile","tokio",- "wasm-encoder",+ "wasm-encoder 0.240.0","wasm-wave",- "wasmparser 0.239.0",+ "wasmparser 0.240.0","wasmtime-environ","wasmtime-internal-cache","wasmtime-internal-component-macro",@@ -4567,8 +4601,8 @@ dependencies = ["tracing","walkdir","wasi-common",- "wasm-encoder",- "wasmparser 0.239.0",+ "wasm-encoder 0.240.0",+ "wasmparser 0.240.0","wasmtime","wasmtime-cli-flags","wasmtime-environ",@@ -4587,10 +4621,10 @@ dependencies = ["wasmtime-wasi-threads","wasmtime-wasi-tls","wasmtime-wast",- "wast 239.0.0",+ "wast 240.0.0","wat","windows-sys 0.60.2",- "wit-component",+ "wit-component 0.240.0",][[package]]@@ -4631,8 +4665,8 @@ dependencies = ["serde_derive","smallvec","target-lexicon",- "wasm-encoder",- "wasmparser 0.239.0",+ "wasm-encoder 0.240.0",+ "wasmparser 0.240.0","wasmprinter","wasmtime-internal-component-util","wat",@@ -4645,7 +4679,7 @@ dependencies = ["arbitrary","env_logger 0.11.5","libfuzzer-sys",- "wasmparser 0.239.0",+ "wasmparser 0.240.0","wasmprinter","wasmtime-environ","wasmtime-test-util",@@ -4678,7 +4712,7 @@ dependencies = ["rand 0.9.2","smallvec","target-lexicon",- "wasmparser 0.239.0",+ "wasmparser 0.240.0","wasmtime","wasmtime-fuzzing","wasmtime-test-util",@@ -4702,12 +4736,12 @@ dependencies = ["target-lexicon","tempfile","v8",- "wasm-encoder",+ "wasm-encoder 0.240.0","wasm-mutate","wasm-smith","wasm-spec-interpreter","wasmi",- "wasmparser 0.239.0",+ "wasmparser 0.240.0","wasmprinter","wasmtime","wasmtime-cli-flags",@@ -4762,7 +4796,7 @@ dependencies = ["wasmtime","wasmtime-internal-component-util","wasmtime-internal-wit-bindgen",- "wit-parser",+ "wit-parser 0.240.0",][[package]]@@ -4788,7 +4822,7 @@ dependencies = ["smallvec","target-lexicon","thiserror 2.0.12",- "wasmparser 0.239.0",+ "wasmparser 0.240.0","wasmtime-environ","wasmtime-internal-math","wasmtime-internal-unwinder",@@ -4885,7 +4919,7 @@ dependencies = ["log","object 0.37.3","target-lexicon",- "wasmparser 0.239.0",+ "wasmparser 0.240.0","wasmtime-environ","wasmtime-internal-cranelift","winch-codegen",@@ -4899,7 +4933,7 @@ dependencies = ["bitflags 2.6.0","heck 0.5.0","indexmap 2.7.0",- "wit-parser",+ "wit-parser 0.240.0",][[package]]@@ -5109,9 +5143,9 @@ dependencies = ["object 0.37.3","serde_json","tokio",- "wasmparser 0.239.0",+ "wasmparser 0.240.0","wasmtime",- "wast 239.0.0",+ "wast 240.0.0",][[package]]@@ -5125,25 +5159,25 @@ dependencies = [[[package]]name = "wast"-version = "239.0.0"+version = "240.0.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "9139176fe8a2590e0fb174cdcaf373b224cb93c3dde08e4297c1361d2ba1ea5d"+checksum = "b0efe1c93db4ac562b9733e3dca19ed7fc878dba29aef22245acf84f13da4a19"dependencies = ["bumpalo","gimli 0.31.1","leb128fmt","memchr","unicode-width 0.2.0",- "wasm-encoder",+ "wasm-encoder 0.240.0",][[package]]name = "wat"-version = "1.239.0"+version = "1.240.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "3e1c941927d34709f255558166f8901a2005f8ab4a9650432e9281b7cc6f3b75"+checksum = "4ec9b6eab7ecd4d639d78515e9ea491c9bacf494aa5eda10823bd35992cf8c1e"dependencies = [- "wast 239.0.0",+ "wast 240.0.0",][[package]]@@ -5273,7 +5307,7 @@ dependencies = ["smallvec","target-lexicon","thiserror 2.0.12",- "wasmparser 0.239.0",+ "wasmparser 0.240.0","wasmtime-environ","wasmtime-internal-cranelift","wasmtime-internal-math",@@ -5531,7 +5565,7 @@ checksum = "cabd629f94da277abc739c71353397046401518efb2c707669f805205f0b9890"dependencies = ["anyhow","heck 0.5.0",- "wit-parser",+ "wit-parser 0.239.0",][[package]]@@ -5554,9 +5588,9 @@ dependencies = ["indexmap 2.7.0","prettyplease","syn 2.0.100",- "wasm-metadata",+ "wasm-metadata 0.239.0","wit-bindgen-core",- "wit-component",+ "wit-component 0.239.0",][[package]]@@ -5587,10 +5621,29 @@ dependencies = ["serde","serde_derive","serde_json",- "wasm-encoder",- "wasm-metadata",+ "wasm-encoder 0.239.0",+ "wasm-metadata 0.239.0","wasmparser 0.239.0",- "wit-parser",+ "wit-parser 0.239.0",+]++[[package]]+name = "wit-component"+version = "0.240.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7dc5474b078addc5fe8a72736de8da3acfb3ff324c2491133f8b59594afa1a20"+dependencies = [+ "anyhow",+ "bitflags 2.6.0",+ "indexmap 2.7.0",+ "log",+ "serde",+ "serde_derive",+ "serde_json",+ "wasm-encoder 0.240.0",+ "wasm-metadata 0.240.0",+ "wasmparser 0.240.0",+ "wit-parser 0.240.0",][[package]]@@ -5611,6 +5664,24 @@ dependencies = ["wasmparser 0.239.0",]+[[package]]+name = "wit-parser"+version = "0.240.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "9875ea3fa272f57cc1fc50f225a7b94021a7878c484b33792bccad0d93223439"+dependencies = [+ "anyhow",+ "id-arena",+ "indexmap 2.7.0",+ "log",+ "semver",+ "serde",+ "serde_derive",+ "serde_json",+ "unicode-xid",+ "wasmparser 0.240.0",+]+[[package]]name = "witx"version = "0.9.1"diff --git a/Cargo.toml b/Cargo.tomlindex c7be7455c9..4dddc77a35 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -328,18 +328,18 @@ wit-bindgen = { version = "0.46.0", default-features = false }wit-bindgen-rust-macro = { version = "0.46.0", default-features = false }# wasm-tools family:-wasmparser = { version = "0.239.0", default-features = false, features = ['simd'] }-wat = "1.239.0"-wast = "239.0.0"-wasmprinter = "0.239.0"-wasm-encoder = "0.239.0"-wasm-smith = "0.239.0"-wasm-mutate = "0.239.0"-wit-parser = "0.239.0"-wit-component = "0.239.0"-wasm-wave = "0.239.0"-wasm-compose = "0.239.0"-json-from-wast = "0.239.0"+wasmparser = { version = "0.240.0", default-features = false, features = ['simd'] }+wat = "1.240.0"+wast = "240.0.0"+wasmprinter = "0.240.0"+wasm-encoder = "0.240.0"+wasm-smith = "0.240.0"+wasm-mutate = "0.240.0"+wit-parser = "0.240.0"+wit-component = "0.240.0"+wasm-wave = "0.240.0"+wasm-compose = "0.240.0"+json-from-wast = "0.240.0"# Non-Bytecode Alliance maintained dependencies:# --------------------------diff --git a/supply-chain/audits.toml b/supply-chain/audits.tomlindex f2932f3b44..a439cc1abc 100644--- a/supply-chain/audits.toml+++ b/supply-chain/audits.toml@@ -2736,6 +2736,12 @@ criteria = "safe-to-deploy"delta = "0.238.1 -> 0.239.0"notes = "The Bytecode Alliance is the author of this crate"+[[audits.json-from-wast]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "0.239.0 -> 0.240.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.leb128]]who = "Nick Fitzgerald <[email protected]>"criteria = "safe-to-deploy"@@ -3987,6 +3993,12 @@ criteria = "safe-to-deploy"delta = "0.238.1 -> 0.239.0"notes = "The Bytecode Alliance is the author of this crate"+[[audits.wasm-compose]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "0.239.0 -> 0.240.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.wasm-coredump-builder]]who = "Alex Crichton <[email protected]>"criteria = "safe-to-deploy"@@ -4131,6 +4143,12 @@ criteria = "safe-to-deploy"delta = "0.238.1 -> 0.239.0"notes = "The Bytecode Alliance is the author of this crate"+[[audits.wasm-encoder]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "0.239.0 -> 0.240.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.wasm-metadata]]who = "Alex Crichton <[email protected]>"criteria = "safe-to-deploy"@@ -4155,6 +4173,12 @@ criteria = "safe-to-deploy"delta = "0.238.1 -> 0.239.0"notes = "The Bytecode Alliance is the author of this crate"+[[audits.wasm-metadata]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "0.239.0 -> 0.240.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.wasm-mutate]]who = "Alex Crichton <[email protected]>"criteria = "safe-to-deploy"@@ -4335,6 +4359,12 @@ criteria = "safe-to-deploy"delta = "0.238.1 -> 0.239.0"notes = "The Bytecode Alliance is the author of this crate"+[[audits.wasm-wave]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "0.239.0 -> 0.240.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.wasmi]]who = "Robin Freyler <[email protected]>"criteria = "safe-to-run"@@ -4485,6 +4515,12 @@ criteria = "safe-to-deploy"delta = "0.238.1 -> 0.239.0"notes = "The Bytecode Alliance is the author of this crate"+[[audits.wasmparser]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "0.239.0 -> 0.240.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.wasmparser-nostd]]who = "Alex Crichton <[email protected]>"criteria = "safe-to-run"@@ -4604,6 +4640,12 @@ criteria = "safe-to-deploy"delta = "0.238.1 -> 0.239.0"notes = "The Bytecode Alliance is the author of this crate"+[[audits.wasmprinter]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "0.239.0 -> 0.240.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.wast]]who = "Alex Crichton <[email protected]>"criteria = "safe-to-deploy"@@ -4706,6 +4748,12 @@ criteria = "safe-to-deploy"delta = "238.0.1 -> 239.0.0"notes = "The Bytecode Alliance is the author of this crate"+[[audits.wast]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "239.0.0 -> 240.0.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.wat]]who = "Alex Crichton <[email protected]>"criteria = "safe-to-deploy"@@ -4796,6 +4844,12 @@ criteria = "safe-to-deploy"delta = "1.238.1 -> 1.239.0"notes = "The Bytecode Alliance is the author of this crate"+[[audits.wat]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "1.239.0 -> 1.240.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.webpki-roots]]who = "Pat Hickey <[email protected]>"criteria = "safe-to-deploy"@@ -4957,6 +5011,12 @@ criteria = "safe-to-deploy"delta = "0.238.1 -> 0.239.0"notes = "The Bytecode Alliance is the author of this crate"+[[audits.wit-component]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "0.239.0 -> 0.240.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.wit-parser]]who = "Alex Crichton <[email protected]>"criteria = "safe-to-deploy"@@ -5029,6 +5089,12 @@ criteria = "safe-to-deploy"delta = "0.238.1 -> 0.239.0"notes = "The Bytecode Alliance is the author of this crate"+[[audits.wit-parser]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "0.239.0 -> 0.240.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.xattr]]who = "Andrew Brown <[email protected]>"criteria = "safe-to-deploy"