diff --git a/Cargo.Bazel.json.lock b/Cargo.Bazel.json.lock index 50d57ce0fc2d..cf37aeb0082b 100644 --- a/Cargo.Bazel.json.lock +++ b/Cargo.Bazel.json.lock @@ -1,5 +1,5 @@ { - "checksum": "43906af38113e17578413f1de1f6cf573f52d737b965fc21e82da5be6f593abc", + "checksum": "98ff24335f62026e229bd43ce5376724c0a48089b1d0a82efb242abd57d619af", "crates": { "abnf 0.12.0": { "name": "abnf", @@ -21948,7 +21948,7 @@ "target": "ic_vetkeys" }, { - "id": "ic-wasm 0.8.4", + "id": "ic-wasm 0.9.11", "target": "ic_wasm" }, { @@ -31908,54 +31908,6 @@ ], "license_file": "LICENSE" }, - "heck 0.3.3": { - "name": "heck", - "version": "0.3.3", - "package_url": "https://github.com/withoutboats/heck", - "repository": { - "Http": { - "url": "https://static.crates.io/crates/heck/0.3.3/download", - "sha256": "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" - } - }, - "targets": [ - { - "Library": { - "crate_name": "heck", - "crate_root": "src/lib.rs", - "srcs": { - "allow_empty": true, - "include": [ - "**/*.rs" - ] - } - } - } - ], - "library_target_name": "heck", - "common_attrs": { - "compile_data_glob": [ - "**" - ], - "deps": { - "common": [ - { - "id": "unicode-segmentation 1.12.0", - "target": "unicode_segmentation" - } - ], - "selects": {} - }, - "edition": "2018", - "version": "0.3.3" - }, - "license": "MIT OR Apache-2.0", - "license_ids": [ - "Apache-2.0", - "MIT" - ], - "license_file": "LICENSE-APACHE" - }, "heck 0.4.1": { "name": "heck", "version": "0.4.1", @@ -38509,14 +38461,14 @@ ], "license_file": "LICENSE" }, - "ic-wasm 0.8.4": { + "ic-wasm 0.9.11": { "name": "ic-wasm", - "version": "0.8.4", + "version": "0.9.11", "package_url": "https://github.com/dfinity/ic-wasm", "repository": { "Http": { - "url": "https://static.crates.io/crates/ic-wasm/0.8.4/download", - "sha256": "45bc33855672981ae4a2f4e77c1a77d1bdc0756fb1b36ad0dbe47df77a955e2d" + "url": "https://static.crates.io/crates/ic-wasm/0.9.11/download", + "sha256": "04a4c6c1f1f7a2126be36fe51cdbc1c8991214f231811dca7ec1971d15cb6f91" } }, "targets": [ @@ -38552,10 +38504,7 @@ ], "crate_features": { "common": [ - "anyhow", - "clap", - "exe", - "serde" + "exe" ], "selects": {} }, @@ -38585,23 +38534,23 @@ "id": "serde 1.0.228", "target": "serde" }, - { - "id": "serde_json 1.0.145", - "target": "serde_json" - }, { "id": "thiserror 1.0.68", "target": "thiserror" }, { - "id": "walrus 0.21.1", + "id": "walrus 0.22.0", "target": "walrus" + }, + { + "id": "wasmparser 0.223.1", + "target": "wasmparser" } ], "selects": {} }, "edition": "2021", - "version": "0.8.4" + "version": "0.9.11" }, "license": "Apache-2.0", "license_ids": [ @@ -88614,14 +88563,14 @@ ], "license_file": "LICENSE-MIT" }, - "walrus 0.21.1": { + "walrus 0.22.0": { "name": "walrus", - "version": "0.21.1", + "version": "0.22.0", "package_url": "https://github.com/rustwasm/walrus", "repository": { "Http": { - "url": "https://static.crates.io/crates/walrus/0.21.1/download", - "sha256": "467611cafbc8a84834b77d2b4bb191fd2f5769752def8340407e924390c6883b" + "url": "https://static.crates.io/crates/walrus/0.22.0/download", + "sha256": "d68aa3c7b80be75c8458fc087453e5a31a226cfffede2e9b932393b2ea1c624a" } }, "targets": [ @@ -88680,13 +88629,13 @@ "proc_macro_deps": { "common": [ { - "id": "walrus-macro 0.19.0", + "id": "walrus-macro 0.22.0", "target": "walrus_macro" } ], "selects": {} }, - "version": "0.21.1" + "version": "0.22.0" }, "license": "MIT/Apache-2.0", "license_ids": [ @@ -88776,66 +88725,6 @@ ], "license_file": "LICENSE-APACHE" }, - "walrus-macro 0.19.0": { - "name": "walrus-macro", - "version": "0.19.0", - "package_url": "https://github.com/rustwasm/walrus/tree/crates/macro", - "repository": { - "Http": { - "url": "https://static.crates.io/crates/walrus-macro/0.19.0/download", - "sha256": "0a6e5bd22c71e77d60140b0bd5be56155a37e5bd14e24f5f87298040d0cc40d7" - } - }, - "targets": [ - { - "ProcMacro": { - "crate_name": "walrus_macro", - "crate_root": "src/lib.rs", - "srcs": { - "allow_empty": true, - "include": [ - "**/*.rs" - ] - } - } - } - ], - "library_target_name": "walrus_macro", - "common_attrs": { - "compile_data_glob": [ - "**" - ], - "deps": { - "common": [ - { - "id": "heck 0.3.3", - "target": "heck" - }, - { - "id": "proc-macro2 1.0.103", - "target": "proc_macro2" - }, - { - "id": "quote 1.0.42", - "target": "quote" - }, - { - "id": "syn 1.0.109", - "target": "syn" - } - ], - "selects": {} - }, - "edition": "2018", - "version": "0.19.0" - }, - "license": "MIT/Apache-2.0", - "license_ids": [ - "Apache-2.0", - "MIT" - ], - "license_file": "LICENSE-APACHE" - }, "walrus-macro 0.22.0": { "name": "walrus-macro", "version": "0.22.0", @@ -90160,6 +90049,110 @@ ], "license_file": null }, + "wasmparser 0.223.1": { + "name": "wasmparser", + "version": "0.223.1", + "package_url": "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasmparser", + "repository": { + "Http": { + "url": "https://static.crates.io/crates/wasmparser/0.223.1/download", + "sha256": "664b980991ed9a8c834eb528a8979ab1109edcf52dc05dd5751e2cc3fb31035d" + } + }, + "targets": [ + { + "Library": { + "crate_name": "wasmparser", + "crate_root": "src/lib.rs", + "srcs": { + "allow_empty": true, + "include": [ + "**/*.rs" + ] + } + } + }, + { + "BuildScript": { + "crate_name": "build_script_build", + "crate_root": "build.rs", + "srcs": { + "allow_empty": true, + "include": [ + "**/*.rs" + ] + } + } + } + ], + "library_target_name": "wasmparser", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": { + "common": [ + "component-model", + "default", + "features", + "hash-collections", + "serde", + "simd", + "std", + "validate" + ], + "selects": {} + }, + "deps": { + "common": [ + { + "id": "bitflags 2.10.0", + "target": "bitflags" + }, + { + "id": "hashbrown 0.15.2", + "target": "hashbrown" + }, + { + "id": "indexmap 2.14.0", + "target": "indexmap" + }, + { + "id": "semver 1.0.27", + "target": "semver" + }, + { + "id": "serde 1.0.228", + "target": "serde" + }, + { + "id": "wasmparser 0.223.1", + "target": "build_script_build" + } + ], + "selects": {} + }, + "edition": "2021", + "version": "0.223.1" + }, + "build_script_attrs": { + "compile_data_glob": [ + "**" + ], + "compile_data_glob_excludes": [ + "**/*.rs" + ], + "data_glob": [ + "**" + ] + }, + "license": "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT", + "license_ids": [ + "Apache-2.0", + "MIT" + ], + "license_file": null + }, "wasmparser 0.235.0": { "name": "wasmparser", "version": "0.235.0", @@ -98627,7 +98620,7 @@ }, "binary_crates": [ "canbench 0.4.1", - "ic-wasm 0.8.4", + "ic-wasm 0.9.11", "metrics-proxy 0.1.0" ], "workspace_members": { @@ -99075,7 +99068,7 @@ "ic-utils 0.45.0", "ic-verify-bls-signature 0.6.0", "ic-vetkeys 0.6.0", - "ic-wasm 0.8.4", + "ic-wasm 0.9.11", "ic-xrc-types 1.2.0", "ic0 1.0.1", "ic_bls12_381 0.10.1", diff --git a/Cargo.Bazel.toml.lock b/Cargo.Bazel.toml.lock index 22bd9e3815d8..5f180a381589 100644 --- a/Cargo.Bazel.toml.lock +++ b/Cargo.Bazel.toml.lock @@ -5506,15 +5506,6 @@ dependencies = [ "http 1.3.1", ] -[[package]] -name = "heck" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" -dependencies = [ - "unicode-segmentation", -] - [[package]] name = "heck" version = "0.4.1" @@ -6759,9 +6750,9 @@ dependencies = [ [[package]] name = "ic-wasm" -version = "0.8.4" +version = "0.9.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45bc33855672981ae4a2f4e77c1a77d1bdc0756fb1b36ad0dbe47df77a955e2d" +checksum = "04a4c6c1f1f7a2126be36fe51cdbc1c8991214f231811dca7ec1971d15cb6f91" dependencies = [ "anyhow", "candid", @@ -6769,9 +6760,9 @@ dependencies = [ "libflate", "rustc-demangle", "serde", - "serde_json", "thiserror 1.0.68", - "walrus 0.21.1", + "walrus 0.22.0", + "wasmparser 0.223.1", ] [[package]] @@ -14891,16 +14882,16 @@ dependencies = [ [[package]] name = "walrus" -version = "0.21.1" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "467611cafbc8a84834b77d2b4bb191fd2f5769752def8340407e924390c6883b" +checksum = "d68aa3c7b80be75c8458fc087453e5a31a226cfffede2e9b932393b2ea1c624a" dependencies = [ "anyhow", "gimli 0.26.2", "id-arena", "leb128", "log", - "walrus-macro 0.19.0", + "walrus-macro", "wasm-encoder 0.212.0", "wasmparser 0.212.0", ] @@ -14916,23 +14907,11 @@ dependencies = [ "id-arena", "leb128", "log", - "walrus-macro 0.22.0", + "walrus-macro", "wasm-encoder 0.214.0", "wasmparser 0.214.0", ] -[[package]] -name = "walrus-macro" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a6e5bd22c71e77d60140b0bd5be56155a37e5bd14e24f5f87298040d0cc40d7" -dependencies = [ - "heck 0.3.3", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "walrus-macro" version = "0.22.0" @@ -15172,6 +15151,19 @@ dependencies = [ "serde", ] +[[package]] +name = "wasmparser" +version = "0.223.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "664b980991ed9a8c834eb528a8979ab1109edcf52dc05dd5751e2cc3fb31035d" +dependencies = [ + "bitflags 2.10.0", + "hashbrown 0.15.2", + "indexmap 2.14.0", + "semver", + "serde", +] + [[package]] name = "wasmparser" version = "0.235.0" diff --git a/Cargo.lock b/Cargo.lock index db3d6455f668..38da1be32e98 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5778,6 +5778,7 @@ dependencies = [ "allocator-api2", "equivalent", "foldhash 0.1.5", + "serde", ] [[package]] @@ -5880,15 +5881,6 @@ dependencies = [ "http 1.4.0", ] -[[package]] -name = "heck" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" -dependencies = [ - "unicode-segmentation", -] - [[package]] name = "heck" version = "0.4.1" @@ -15734,9 +15726,9 @@ dependencies = [ [[package]] name = "ic-wasm" -version = "0.8.6" +version = "0.9.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19fabaeecfe37f24b433c62489242fc54503d98d4cc8d0f9ef7544dfdfc0ddcb" +checksum = "04a4c6c1f1f7a2126be36fe51cdbc1c8991214f231811dca7ec1971d15cb6f91" dependencies = [ "anyhow", "candid", @@ -15744,9 +15736,9 @@ dependencies = [ "libflate", "rustc-demangle", "serde", - "serde_json", "thiserror 1.0.69", - "walrus 0.21.3", + "walrus 0.22.0", + "wasmparser 0.223.1", ] [[package]] @@ -25488,16 +25480,16 @@ dependencies = [ [[package]] name = "walrus" -version = "0.21.3" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "501ace8ec3492754a9b3c4b59eac7159ceff8414f9e43a05029fe8ef43b9218f" +checksum = "d68aa3c7b80be75c8458fc087453e5a31a226cfffede2e9b932393b2ea1c624a" dependencies = [ "anyhow", "gimli 0.26.2", "id-arena", "leb128", "log", - "walrus-macro 0.19.0", + "walrus-macro", "wasm-encoder 0.212.0", "wasmparser 0.212.0", ] @@ -25513,23 +25505,11 @@ dependencies = [ "id-arena", "leb128", "log", - "walrus-macro 0.22.0", + "walrus-macro", "wasm-encoder 0.214.0", "wasmparser 0.214.0", ] -[[package]] -name = "walrus-macro" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a6e5bd22c71e77d60140b0bd5be56155a37e5bd14e24f5f87298040d0cc40d7" -dependencies = [ - "heck 0.3.3", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "walrus-macro" version = "0.22.0" @@ -25868,6 +25848,19 @@ dependencies = [ "serde", ] +[[package]] +name = "wasmparser" +version = "0.223.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "664b980991ed9a8c834eb528a8979ab1109edcf52dc05dd5751e2cc3fb31035d" +dependencies = [ + "bitflags 2.11.0", + "hashbrown 0.15.5", + "indexmap 2.14.0", + "semver", + "serde", +] + [[package]] name = "wasmparser" version = "0.243.0" diff --git a/Cargo.toml b/Cargo.toml index e82d2631e184..5d1eaad0827b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -933,4 +933,4 @@ zstd = "0.13.2" [workspace.dependencies.ic-wasm] default-features = false features = ["exe"] -version = "^0.8.1" +version = "^0.9.11" diff --git a/bazel/rust.MODULE.bazel b/bazel/rust.MODULE.bazel index 63b49a3f6327..f1903790e87f 100644 --- a/bazel/rust.MODULE.bazel +++ b/bazel/rust.MODULE.bazel @@ -774,7 +774,7 @@ crate.spec( "exe", ], package = "ic-wasm", - version = "^0.8.4", + version = "^0.9.11", ) crate.spec( package = "ic-xrc-types",