From 11d2f39bf4001e98294f3eadfe03afde8ddd004a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 30 Jun 2024 18:08:24 +0000 Subject: [PATCH] chore(deps): update wit-bindgen to 0.27.0 (#194) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [wit-bindgen](https://togithub.com/bytecodealliance/wit-bindgen) | workspace.dependencies | minor | `0.26.0` -> `0.27.0` | | [wit-bindgen-rt](https://togithub.com/bytecodealliance/wit-bindgen) | workspace.dependencies | minor | `0.26.0` -> `0.27.0` | --- ### Release Notes
bytecodealliance/wit-bindgen (wit-bindgen) ### [`v0.27.0`](https://togithub.com/bytecodealliance/wit-bindgen/compare/v0.26.0...v0.27.0) [Compare Source](https://togithub.com/bytecodealliance/wit-bindgen/compare/v0.26.0...v0.27.0)
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/andrzejressel/pulumi-wasm). --- Cargo.lock | 116 ++++++--- Cargo.toml | 4 +- .../src/lib.rs | 3 + .../src/lib.rs | 3 + .../src/output/rust/lib.rs.handlebars | 3 + pulumi_wasm_generator/tests/input/Cargo.toml | 4 +- .../tests/output/command_provider/Cargo.lock | 239 ++++-------------- .../tests/output/command_provider/Cargo.toml | 4 +- .../output/command_provider/lib/src/lib.rs | 3 + .../tests/output/docker_provider/Cargo.lock | 239 ++++-------------- .../tests/output/docker_provider/Cargo.toml | 4 +- .../output/docker_provider/lib/src/lib.rs | 3 + .../tests/output/random_provider/Cargo.lock | 239 ++++-------------- .../tests/output/random_provider/Cargo.toml | 4 +- .../output/random_provider/lib/src/lib.rs | 3 + 15 files changed, 270 insertions(+), 601 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3ec87172c..71a92825a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -688,7 +688,7 @@ dependencies = [ "itertools 0.12.1", "log", "smallvec", - "wasmparser", + "wasmparser 0.209.1", "wasmtime-types", ] @@ -1919,9 +1919,9 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.16" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a41cf62165e97c7f814d2221421dbb9afcbcdb0a88068e5ea206e19951c2cbb5" +checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" dependencies = [ "proc-macro2", "syn 2.0.68", @@ -3228,11 +3228,21 @@ dependencies = [ "leb128", ] +[[package]] +name = "wasm-encoder" +version = "0.212.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "501940df4418b8929eb6d52f1aade1fdd15a5b86c92453cb696e3c906bd3fc33" +dependencies = [ + "leb128", + "wasmparser 0.212.0", +] + [[package]] name = "wasm-metadata" -version = "0.209.1" +version = "0.212.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d32029ce424f6d3c2b39b4419fb45a0e2d84fb0751e0c0a32b7ce8bd5d97f46" +checksum = "8a1849fac257fd76c43268555e73d74848c8dff23975c238c2cbad61cffe5045" dependencies = [ "anyhow", "indexmap 2.1.0", @@ -3240,8 +3250,8 @@ dependencies = [ "serde_derive", "serde_json", "spdx", - "wasm-encoder", - "wasmparser", + "wasm-encoder 0.212.0", + "wasmparser 0.212.0", ] [[package]] @@ -3267,6 +3277,19 @@ dependencies = [ "serde", ] +[[package]] +name = "wasmparser" +version = "0.212.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d28bc49ba1e5c5b61ffa7a2eace10820443c4b7d1c0b144109261d14570fdf8" +dependencies = [ + "ahash", + "bitflags 2.6.0", + "hashbrown 0.14.3", + "indexmap 2.1.0", + "semver", +] + [[package]] name = "wasmprinter" version = "0.209.1" @@ -3274,7 +3297,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ceca8ae6eaa8c7c87b33c25c53bdf299f8c2a764aee1179402ff7652ef3a6859" dependencies = [ "anyhow", - "wasmparser", + "wasmparser 0.209.1", ] [[package]] @@ -3315,8 +3338,8 @@ dependencies = [ "smallvec", "sptr", "target-lexicon", - "wasm-encoder", - "wasmparser", + "wasm-encoder 0.209.1", + "wasmparser 0.209.1", "wasmtime-asm-macros", "wasmtime-cache", "wasmtime-component-macro", @@ -3374,7 +3397,7 @@ dependencies = [ "syn 2.0.68", "wasmtime-component-util", "wasmtime-wit-bindgen", - "wit-parser", + "wit-parser 0.209.1", ] [[package]] @@ -3402,7 +3425,7 @@ dependencies = [ "object 0.36.0", "target-lexicon", "thiserror", - "wasmparser", + "wasmparser 0.209.1", "wasmtime-environ", "wasmtime-versioned-export-macros", ] @@ -3425,8 +3448,8 @@ dependencies = [ "serde", "serde_derive", "target-lexicon", - "wasm-encoder", - "wasmparser", + "wasm-encoder 0.209.1", + "wasmparser 0.209.1", "wasmprinter", "wasmtime-component-util", "wasmtime-types", @@ -3487,7 +3510,7 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "wasmparser", + "wasmparser 0.209.1", ] [[package]] @@ -3543,7 +3566,7 @@ dependencies = [ "gimli", "object 0.36.0", "target-lexicon", - "wasmparser", + "wasmparser 0.209.1", "wasmtime-cranelift", "wasmtime-environ", "winch-codegen", @@ -3558,7 +3581,7 @@ dependencies = [ "anyhow", "heck 0.4.1", "indexmap 2.1.0", - "wit-parser", + "wit-parser 0.209.1", ] [[package]] @@ -3580,7 +3603,7 @@ dependencies = [ "leb128", "memchr", "unicode-width", - "wasm-encoder", + "wasm-encoder 0.209.1", ] [[package]] @@ -3701,7 +3724,7 @@ dependencies = [ "regalloc2", "smallvec", "target-lexicon", - "wasmparser", + "wasmparser 0.209.1", "wasmtime-cranelift", "wasmtime-environ", ] @@ -3868,9 +3891,9 @@ dependencies = [ [[package]] name = "wit-bindgen" -version = "0.26.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a84376ff4f74ed07674a1157c0bd19e6627ab01fc90952a27ccefb52a24530f0" +checksum = "fabce76bbb8938536c437da0c3e1d4dda9065453f72a68f797c0cb3d67356a28" dependencies = [ "wit-bindgen-rt", "wit-bindgen-rust-macro", @@ -3878,33 +3901,35 @@ dependencies = [ [[package]] name = "wit-bindgen-core" -version = "0.26.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36d4706efb67fadfbbde77955b299b111dd096e6776d8c6561d92f6147941880" +checksum = "1b43fbdd3497c471bbfb6973b1fb9ffe6949f158248cb43171d6f1cf3de7eaa3" dependencies = [ "anyhow", "heck 0.5.0", - "wit-parser", + "wit-parser 0.212.0", ] [[package]] name = "wit-bindgen-rt" -version = "0.26.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29c7526379ace8709ee9ab9f2bb50f112d95581063a59ef3097d9c10153886c9" +checksum = "75956ff0a04a87ca0526b07199ce3b9baee899f2e4723b5b63aa296ab172ec52" dependencies = [ "bitflags 2.6.0", ] [[package]] name = "wit-bindgen-rust" -version = "0.26.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "514295193d1a2f42e6a948cd7d9fd81e2b8fadc319667dcf19fd7aceaf2113a2" +checksum = "bf509c4ef97b18ec0218741c8318706ac30ff16bc1731f990319a42bbbcfe8e3" dependencies = [ "anyhow", "heck 0.5.0", "indexmap 2.1.0", + "prettyplease", + "syn 2.0.68", "wasm-metadata", "wit-bindgen-core", "wit-component", @@ -3912,11 +3937,12 @@ dependencies = [ [[package]] name = "wit-bindgen-rust-macro" -version = "0.26.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0409a3356ca02599aff78f717968fd7f12df4bf879f325e2a97b45c84c90fff" +checksum = "88d6f2e025e38395d71fc1bf064e581b2ad275ce322d6f8d87ddc5e76a7b8c42" dependencies = [ "anyhow", + "prettyplease", "proc-macro2", "quote", "syn 2.0.68", @@ -3926,9 +3952,9 @@ dependencies = [ [[package]] name = "wit-component" -version = "0.209.1" +version = "0.212.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25a2bb5b039f9cb03425e1d5a6e54b441ca4ca1b1d4fa6a0924db67a55168f99" +checksum = "8ed5b0f9fc3d6424787d2a49e1142bf954ae4f26ee891992c144f0cfd68c4b7f" dependencies = [ "anyhow", "bitflags 2.6.0", @@ -3937,10 +3963,10 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "wasm-encoder", + "wasm-encoder 0.212.0", "wasm-metadata", - "wasmparser", - "wit-parser", + "wasmparser 0.212.0", + "wit-parser 0.212.0", ] [[package]] @@ -3958,7 +3984,25 @@ dependencies = [ "serde_derive", "serde_json", "unicode-xid", - "wasmparser", + "wasmparser 0.209.1", +] + +[[package]] +name = "wit-parser" +version = "0.212.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ceeb0424aa8679f3fcf2d6e3cfa381f3d6fa6179976a2c05a6249dd2bb426716" +dependencies = [ + "anyhow", + "id-arena", + "indexmap 2.1.0", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-xid", + "wasmparser 0.212.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 8d7c552fb..0c2b64839 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -51,8 +51,8 @@ futures = "0.3.30" lazy_static = "1.4.0" once_cell = "1.19.0" bitflags = "2.5.0" -wit-bindgen = "0.26.0" -wit-bindgen-rt = "0.26.0" +wit-bindgen = "0.27.0" +wit-bindgen-rt = "0.27.0" rmp = "0.8.14" rmp-serde = "1.3.0" rmpv = "1.3.0" diff --git a/providers/pulumi_wasm_provider_docker_rust/src/lib.rs b/providers/pulumi_wasm_provider_docker_rust/src/lib.rs index d381958ea..f4d3315e3 100644 --- a/providers/pulumi_wasm_provider_docker_rust/src/lib.rs +++ b/providers/pulumi_wasm_provider_docker_rust/src/lib.rs @@ -7,6 +7,9 @@ mod bindings { wit_bindgen::generate!({ // the name of the world in the `*.wit` input file world: "main-world-client", + with: { + "component:pulumi-wasm/output-interface@0.1.0": generate + } }); } diff --git a/providers/pulumi_wasm_provider_random_rust/src/lib.rs b/providers/pulumi_wasm_provider_random_rust/src/lib.rs index d381958ea..f4d3315e3 100644 --- a/providers/pulumi_wasm_provider_random_rust/src/lib.rs +++ b/providers/pulumi_wasm_provider_random_rust/src/lib.rs @@ -7,6 +7,9 @@ mod bindings { wit_bindgen::generate!({ // the name of the world in the `*.wit` input file world: "main-world-client", + with: { + "component:pulumi-wasm/output-interface@0.1.0": generate + } }); } diff --git a/pulumi_wasm_generator/src/output/rust/lib.rs.handlebars b/pulumi_wasm_generator/src/output/rust/lib.rs.handlebars index 2245fa2f0..fce0cb3be 100644 --- a/pulumi_wasm_generator/src/output/rust/lib.rs.handlebars +++ b/pulumi_wasm_generator/src/output/rust/lib.rs.handlebars @@ -7,6 +7,9 @@ mod bindings { wit_bindgen::generate!({ // the name of the world in the `*.wit` input file world: "main-world-client", + with: { + "component:pulumi-wasm/output-interface@0.1.0": generate + } }); } diff --git a/pulumi_wasm_generator/tests/input/Cargo.toml b/pulumi_wasm_generator/tests/input/Cargo.toml index d5dc4ca8c..c7600752d 100644 --- a/pulumi_wasm_generator/tests/input/Cargo.toml +++ b/pulumi_wasm_generator/tests/input/Cargo.toml @@ -10,8 +10,8 @@ members = [ ] [workspace.dependencies] -wit-bindgen-rt = "0.24.0" -wit-bindgen = "0.24.0" +wit-bindgen-rt = "0.27.0" +wit-bindgen = "0.27.0" automod = "1.0.14" wasm_common = { path = "../../../../wasm_common" } pulumi_wasm_rust = { path = "../../../../pulumi_wasm_rust" } diff --git a/pulumi_wasm_generator/tests/output/command_provider/Cargo.lock b/pulumi_wasm_generator/tests/output/command_provider/Cargo.lock index fea828556..2d5717991 100644 --- a/pulumi_wasm_generator/tests/output/command_provider/Cargo.lock +++ b/pulumi_wasm_generator/tests/output/command_provider/Cargo.lock @@ -176,15 +176,6 @@ dependencies = [ "ahash", ] -[[package]] -name = "heck" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" -dependencies = [ - "unicode-segmentation", -] - [[package]] name = "heck" version = "0.5.0" @@ -281,6 +272,16 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "prettyplease" +version = "0.2.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" +dependencies = [ + "proc-macro2", + "syn", +] + [[package]] name = "proc-macro2" version = "1.0.81" @@ -297,7 +298,7 @@ dependencies = [ "automod", "pulumi_wasm_rust", "serde", - "wit-bindgen 0.24.0", + "wit-bindgen", ] [[package]] @@ -305,7 +306,7 @@ name = "pulumi_wasm_command_provider" version = "0.9.2" dependencies = [ "wasm_common", - "wit-bindgen-rt 0.24.0", + "wit-bindgen-rt", ] [[package]] @@ -324,7 +325,7 @@ dependencies = [ "serde_json", "uuid", "wasm_common", - "wit-bindgen 0.26.0", + "wit-bindgen", ] [[package]] @@ -461,12 +462,6 @@ version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" -[[package]] -name = "unicode-segmentation" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" - [[package]] name = "unicode-xid" version = "0.2.4" @@ -497,27 +492,19 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-encoder" -version = "0.202.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfd106365a7f5f7aa3c1916a98cbb3ad477f5ff96ddb130285a91c6e7429e67a" -dependencies = [ - "leb128", -] - -[[package]] -name = "wasm-encoder" -version = "0.209.1" +version = "0.212.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b4a05336882dae732ce6bd48b7e11fe597293cb72c13da4f35d7d5f8d53b2a7" +checksum = "501940df4418b8929eb6d52f1aade1fdd15a5b86c92453cb696e3c906bd3fc33" dependencies = [ "leb128", + "wasmparser", ] [[package]] name = "wasm-metadata" -version = "0.202.0" +version = "0.212.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "094aea3cb90e09f16ee25a4c0e324b3e8c934e7fd838bfa039aef5352f44a917" +checksum = "8a1849fac257fd76c43268555e73d74848c8dff23975c238c2cbad61cffe5045" dependencies = [ "anyhow", "indexmap", @@ -525,24 +512,8 @@ dependencies = [ "serde_derive", "serde_json", "spdx", - "wasm-encoder 0.202.0", - "wasmparser 0.202.0", -] - -[[package]] -name = "wasm-metadata" -version = "0.209.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d32029ce424f6d3c2b39b4419fb45a0e2d84fb0751e0c0a32b7ce8bd5d97f46" -dependencies = [ - "anyhow", - "indexmap", - "serde", - "serde_derive", - "serde_json", - "spdx", - "wasm-encoder 0.209.1", - "wasmparser 0.209.1", + "wasm-encoder", + "wasmparser", ] [[package]] @@ -551,25 +522,14 @@ version = "0.1.0" dependencies = [ "log", "uuid", - "wit-bindgen 0.26.0", + "wit-bindgen", ] [[package]] name = "wasmparser" -version = "0.202.0" +version = "0.212.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6998515d3cf3f8b980ef7c11b29a9b1017d4cf86b99ae93b546992df9931413" -dependencies = [ - "bitflags", - "indexmap", - "semver", -] - -[[package]] -name = "wasmparser" -version = "0.209.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07035cc9a9b41e62d3bb3a3815a66ab87c993c06fe1cf6b2a3f2a18499d937db" +checksum = "8d28bc49ba1e5c5b61ffa7a2eace10820443c4b7d1c0b144109261d14570fdf8" dependencies = [ "ahash", "bitflags", @@ -580,143 +540,70 @@ dependencies = [ [[package]] name = "wit-bindgen" -version = "0.24.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb4e7653763780be47e38f479e9aa83c768aa6a3b2ed086dc2826fdbbb7e7f5" +checksum = "fabce76bbb8938536c437da0c3e1d4dda9065453f72a68f797c0cb3d67356a28" dependencies = [ - "wit-bindgen-rt 0.24.0", - "wit-bindgen-rust-macro 0.24.0", -] - -[[package]] -name = "wit-bindgen" -version = "0.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a84376ff4f74ed07674a1157c0bd19e6627ab01fc90952a27ccefb52a24530f0" -dependencies = [ - "wit-bindgen-rt 0.26.0", - "wit-bindgen-rust-macro 0.26.0", + "wit-bindgen-rt", + "wit-bindgen-rust-macro", ] [[package]] name = "wit-bindgen-core" -version = "0.24.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b67e11c950041849a10828c7600ea62a4077c01e8af72e8593253575428f91b" +checksum = "1b43fbdd3497c471bbfb6973b1fb9ffe6949f158248cb43171d6f1cf3de7eaa3" dependencies = [ "anyhow", - "wit-parser 0.202.0", -] - -[[package]] -name = "wit-bindgen-core" -version = "0.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36d4706efb67fadfbbde77955b299b111dd096e6776d8c6561d92f6147941880" -dependencies = [ - "anyhow", - "heck 0.5.0", - "wit-parser 0.209.1", -] - -[[package]] -name = "wit-bindgen-rt" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b0780cf7046630ed70f689a098cd8d56c5c3b22f2a7379bbdb088879963ff96" -dependencies = [ - "bitflags", + "heck", + "wit-parser", ] [[package]] name = "wit-bindgen-rt" -version = "0.26.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29c7526379ace8709ee9ab9f2bb50f112d95581063a59ef3097d9c10153886c9" +checksum = "75956ff0a04a87ca0526b07199ce3b9baee899f2e4723b5b63aa296ab172ec52" dependencies = [ "bitflags", ] [[package]] name = "wit-bindgen-rust" -version = "0.24.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30acbe8fb708c3a830a33c4cb705df82659bf831b492ec6ca1a17a369cfeeafb" +checksum = "bf509c4ef97b18ec0218741c8318706ac30ff16bc1731f990319a42bbbcfe8e3" dependencies = [ "anyhow", - "heck 0.4.1", + "heck", "indexmap", - "wasm-metadata 0.202.0", - "wit-bindgen-core 0.24.0", - "wit-component 0.202.0", -] - -[[package]] -name = "wit-bindgen-rust" -version = "0.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "514295193d1a2f42e6a948cd7d9fd81e2b8fadc319667dcf19fd7aceaf2113a2" -dependencies = [ - "anyhow", - "heck 0.5.0", - "indexmap", - "wasm-metadata 0.209.1", - "wit-bindgen-core 0.26.0", - "wit-component 0.209.1", -] - -[[package]] -name = "wit-bindgen-rust-macro" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b1b06eae85feaecdf9f2854f7cac124e00d5a6e5014bfb02eb1ecdeb5f265b9" -dependencies = [ - "anyhow", - "proc-macro2", - "quote", + "prettyplease", "syn", - "wit-bindgen-core 0.24.0", - "wit-bindgen-rust 0.24.0", + "wasm-metadata", + "wit-bindgen-core", + "wit-component", ] [[package]] name = "wit-bindgen-rust-macro" -version = "0.26.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0409a3356ca02599aff78f717968fd7f12df4bf879f325e2a97b45c84c90fff" +checksum = "88d6f2e025e38395d71fc1bf064e581b2ad275ce322d6f8d87ddc5e76a7b8c42" dependencies = [ "anyhow", + "prettyplease", "proc-macro2", "quote", "syn", - "wit-bindgen-core 0.26.0", - "wit-bindgen-rust 0.26.0", -] - -[[package]] -name = "wit-component" -version = "0.202.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c836b1fd9932de0431c1758d8be08212071b6bba0151f7bac826dbc4312a2a9" -dependencies = [ - "anyhow", - "bitflags", - "indexmap", - "log", - "serde", - "serde_derive", - "serde_json", - "wasm-encoder 0.202.0", - "wasm-metadata 0.202.0", - "wasmparser 0.202.0", - "wit-parser 0.202.0", + "wit-bindgen-core", + "wit-bindgen-rust", ] [[package]] name = "wit-component" -version = "0.209.1" +version = "0.212.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25a2bb5b039f9cb03425e1d5a6e54b441ca4ca1b1d4fa6a0924db67a55168f99" +checksum = "8ed5b0f9fc3d6424787d2a49e1142bf954ae4f26ee891992c144f0cfd68c4b7f" dependencies = [ "anyhow", "bitflags", @@ -725,35 +612,17 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "wasm-encoder 0.209.1", - "wasm-metadata 0.209.1", - "wasmparser 0.209.1", - "wit-parser 0.209.1", -] - -[[package]] -name = "wit-parser" -version = "0.202.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "744237b488352f4f27bca05a10acb79474415951c450e52ebd0da784c1df2bcc" -dependencies = [ - "anyhow", - "id-arena", - "indexmap", - "log", - "semver", - "serde", - "serde_derive", - "serde_json", - "unicode-xid", - "wasmparser 0.202.0", + "wasm-encoder", + "wasm-metadata", + "wasmparser", + "wit-parser", ] [[package]] name = "wit-parser" -version = "0.209.1" +version = "0.212.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e79b9e3c0b6bb589dec46317e645851e0db2734c44e2be5e251b03ff4a51269" +checksum = "ceeb0424aa8679f3fcf2d6e3cfa381f3d6fa6179976a2c05a6249dd2bb426716" dependencies = [ "anyhow", "id-arena", @@ -764,7 +633,7 @@ dependencies = [ "serde_derive", "serde_json", "unicode-xid", - "wasmparser 0.209.1", + "wasmparser", ] [[package]] diff --git a/pulumi_wasm_generator/tests/output/command_provider/Cargo.toml b/pulumi_wasm_generator/tests/output/command_provider/Cargo.toml index d5dc4ca8c..c7600752d 100644 --- a/pulumi_wasm_generator/tests/output/command_provider/Cargo.toml +++ b/pulumi_wasm_generator/tests/output/command_provider/Cargo.toml @@ -10,8 +10,8 @@ members = [ ] [workspace.dependencies] -wit-bindgen-rt = "0.24.0" -wit-bindgen = "0.24.0" +wit-bindgen-rt = "0.27.0" +wit-bindgen = "0.27.0" automod = "1.0.14" wasm_common = { path = "../../../../wasm_common" } pulumi_wasm_rust = { path = "../../../../pulumi_wasm_rust" } diff --git a/pulumi_wasm_generator/tests/output/command_provider/lib/src/lib.rs b/pulumi_wasm_generator/tests/output/command_provider/lib/src/lib.rs index 2245fa2f0..fce0cb3be 100644 --- a/pulumi_wasm_generator/tests/output/command_provider/lib/src/lib.rs +++ b/pulumi_wasm_generator/tests/output/command_provider/lib/src/lib.rs @@ -7,6 +7,9 @@ mod bindings { wit_bindgen::generate!({ // the name of the world in the `*.wit` input file world: "main-world-client", + with: { + "component:pulumi-wasm/output-interface@0.1.0": generate + } }); } diff --git a/pulumi_wasm_generator/tests/output/docker_provider/Cargo.lock b/pulumi_wasm_generator/tests/output/docker_provider/Cargo.lock index 2b38dde1d..4f4530f15 100644 --- a/pulumi_wasm_generator/tests/output/docker_provider/Cargo.lock +++ b/pulumi_wasm_generator/tests/output/docker_provider/Cargo.lock @@ -176,15 +176,6 @@ dependencies = [ "ahash", ] -[[package]] -name = "heck" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" -dependencies = [ - "unicode-segmentation", -] - [[package]] name = "heck" version = "0.5.0" @@ -281,6 +272,16 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "prettyplease" +version = "0.2.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" +dependencies = [ + "proc-macro2", + "syn", +] + [[package]] name = "proc-macro2" version = "1.0.81" @@ -297,7 +298,7 @@ dependencies = [ "automod", "pulumi_wasm_rust", "serde", - "wit-bindgen 0.24.0", + "wit-bindgen", ] [[package]] @@ -305,7 +306,7 @@ name = "pulumi_wasm_docker_provider" version = "4.5.3" dependencies = [ "wasm_common", - "wit-bindgen-rt 0.24.0", + "wit-bindgen-rt", ] [[package]] @@ -324,7 +325,7 @@ dependencies = [ "serde_json", "uuid", "wasm_common", - "wit-bindgen 0.26.0", + "wit-bindgen", ] [[package]] @@ -461,12 +462,6 @@ version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" -[[package]] -name = "unicode-segmentation" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" - [[package]] name = "unicode-xid" version = "0.2.4" @@ -497,27 +492,19 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-encoder" -version = "0.202.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfd106365a7f5f7aa3c1916a98cbb3ad477f5ff96ddb130285a91c6e7429e67a" -dependencies = [ - "leb128", -] - -[[package]] -name = "wasm-encoder" -version = "0.209.1" +version = "0.212.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b4a05336882dae732ce6bd48b7e11fe597293cb72c13da4f35d7d5f8d53b2a7" +checksum = "501940df4418b8929eb6d52f1aade1fdd15a5b86c92453cb696e3c906bd3fc33" dependencies = [ "leb128", + "wasmparser", ] [[package]] name = "wasm-metadata" -version = "0.202.0" +version = "0.212.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "094aea3cb90e09f16ee25a4c0e324b3e8c934e7fd838bfa039aef5352f44a917" +checksum = "8a1849fac257fd76c43268555e73d74848c8dff23975c238c2cbad61cffe5045" dependencies = [ "anyhow", "indexmap", @@ -525,24 +512,8 @@ dependencies = [ "serde_derive", "serde_json", "spdx", - "wasm-encoder 0.202.0", - "wasmparser 0.202.0", -] - -[[package]] -name = "wasm-metadata" -version = "0.209.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d32029ce424f6d3c2b39b4419fb45a0e2d84fb0751e0c0a32b7ce8bd5d97f46" -dependencies = [ - "anyhow", - "indexmap", - "serde", - "serde_derive", - "serde_json", - "spdx", - "wasm-encoder 0.209.1", - "wasmparser 0.209.1", + "wasm-encoder", + "wasmparser", ] [[package]] @@ -551,25 +522,14 @@ version = "0.1.0" dependencies = [ "log", "uuid", - "wit-bindgen 0.26.0", + "wit-bindgen", ] [[package]] name = "wasmparser" -version = "0.202.0" +version = "0.212.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6998515d3cf3f8b980ef7c11b29a9b1017d4cf86b99ae93b546992df9931413" -dependencies = [ - "bitflags", - "indexmap", - "semver", -] - -[[package]] -name = "wasmparser" -version = "0.209.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07035cc9a9b41e62d3bb3a3815a66ab87c993c06fe1cf6b2a3f2a18499d937db" +checksum = "8d28bc49ba1e5c5b61ffa7a2eace10820443c4b7d1c0b144109261d14570fdf8" dependencies = [ "ahash", "bitflags", @@ -580,143 +540,70 @@ dependencies = [ [[package]] name = "wit-bindgen" -version = "0.24.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb4e7653763780be47e38f479e9aa83c768aa6a3b2ed086dc2826fdbbb7e7f5" +checksum = "fabce76bbb8938536c437da0c3e1d4dda9065453f72a68f797c0cb3d67356a28" dependencies = [ - "wit-bindgen-rt 0.24.0", - "wit-bindgen-rust-macro 0.24.0", -] - -[[package]] -name = "wit-bindgen" -version = "0.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a84376ff4f74ed07674a1157c0bd19e6627ab01fc90952a27ccefb52a24530f0" -dependencies = [ - "wit-bindgen-rt 0.26.0", - "wit-bindgen-rust-macro 0.26.0", + "wit-bindgen-rt", + "wit-bindgen-rust-macro", ] [[package]] name = "wit-bindgen-core" -version = "0.24.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b67e11c950041849a10828c7600ea62a4077c01e8af72e8593253575428f91b" +checksum = "1b43fbdd3497c471bbfb6973b1fb9ffe6949f158248cb43171d6f1cf3de7eaa3" dependencies = [ "anyhow", - "wit-parser 0.202.0", -] - -[[package]] -name = "wit-bindgen-core" -version = "0.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36d4706efb67fadfbbde77955b299b111dd096e6776d8c6561d92f6147941880" -dependencies = [ - "anyhow", - "heck 0.5.0", - "wit-parser 0.209.1", -] - -[[package]] -name = "wit-bindgen-rt" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b0780cf7046630ed70f689a098cd8d56c5c3b22f2a7379bbdb088879963ff96" -dependencies = [ - "bitflags", + "heck", + "wit-parser", ] [[package]] name = "wit-bindgen-rt" -version = "0.26.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29c7526379ace8709ee9ab9f2bb50f112d95581063a59ef3097d9c10153886c9" +checksum = "75956ff0a04a87ca0526b07199ce3b9baee899f2e4723b5b63aa296ab172ec52" dependencies = [ "bitflags", ] [[package]] name = "wit-bindgen-rust" -version = "0.24.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30acbe8fb708c3a830a33c4cb705df82659bf831b492ec6ca1a17a369cfeeafb" +checksum = "bf509c4ef97b18ec0218741c8318706ac30ff16bc1731f990319a42bbbcfe8e3" dependencies = [ "anyhow", - "heck 0.4.1", + "heck", "indexmap", - "wasm-metadata 0.202.0", - "wit-bindgen-core 0.24.0", - "wit-component 0.202.0", -] - -[[package]] -name = "wit-bindgen-rust" -version = "0.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "514295193d1a2f42e6a948cd7d9fd81e2b8fadc319667dcf19fd7aceaf2113a2" -dependencies = [ - "anyhow", - "heck 0.5.0", - "indexmap", - "wasm-metadata 0.209.1", - "wit-bindgen-core 0.26.0", - "wit-component 0.209.1", -] - -[[package]] -name = "wit-bindgen-rust-macro" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b1b06eae85feaecdf9f2854f7cac124e00d5a6e5014bfb02eb1ecdeb5f265b9" -dependencies = [ - "anyhow", - "proc-macro2", - "quote", + "prettyplease", "syn", - "wit-bindgen-core 0.24.0", - "wit-bindgen-rust 0.24.0", + "wasm-metadata", + "wit-bindgen-core", + "wit-component", ] [[package]] name = "wit-bindgen-rust-macro" -version = "0.26.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0409a3356ca02599aff78f717968fd7f12df4bf879f325e2a97b45c84c90fff" +checksum = "88d6f2e025e38395d71fc1bf064e581b2ad275ce322d6f8d87ddc5e76a7b8c42" dependencies = [ "anyhow", + "prettyplease", "proc-macro2", "quote", "syn", - "wit-bindgen-core 0.26.0", - "wit-bindgen-rust 0.26.0", -] - -[[package]] -name = "wit-component" -version = "0.202.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c836b1fd9932de0431c1758d8be08212071b6bba0151f7bac826dbc4312a2a9" -dependencies = [ - "anyhow", - "bitflags", - "indexmap", - "log", - "serde", - "serde_derive", - "serde_json", - "wasm-encoder 0.202.0", - "wasm-metadata 0.202.0", - "wasmparser 0.202.0", - "wit-parser 0.202.0", + "wit-bindgen-core", + "wit-bindgen-rust", ] [[package]] name = "wit-component" -version = "0.209.1" +version = "0.212.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25a2bb5b039f9cb03425e1d5a6e54b441ca4ca1b1d4fa6a0924db67a55168f99" +checksum = "8ed5b0f9fc3d6424787d2a49e1142bf954ae4f26ee891992c144f0cfd68c4b7f" dependencies = [ "anyhow", "bitflags", @@ -725,35 +612,17 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "wasm-encoder 0.209.1", - "wasm-metadata 0.209.1", - "wasmparser 0.209.1", - "wit-parser 0.209.1", -] - -[[package]] -name = "wit-parser" -version = "0.202.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "744237b488352f4f27bca05a10acb79474415951c450e52ebd0da784c1df2bcc" -dependencies = [ - "anyhow", - "id-arena", - "indexmap", - "log", - "semver", - "serde", - "serde_derive", - "serde_json", - "unicode-xid", - "wasmparser 0.202.0", + "wasm-encoder", + "wasm-metadata", + "wasmparser", + "wit-parser", ] [[package]] name = "wit-parser" -version = "0.209.1" +version = "0.212.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e79b9e3c0b6bb589dec46317e645851e0db2734c44e2be5e251b03ff4a51269" +checksum = "ceeb0424aa8679f3fcf2d6e3cfa381f3d6fa6179976a2c05a6249dd2bb426716" dependencies = [ "anyhow", "id-arena", @@ -764,7 +633,7 @@ dependencies = [ "serde_derive", "serde_json", "unicode-xid", - "wasmparser 0.209.1", + "wasmparser", ] [[package]] diff --git a/pulumi_wasm_generator/tests/output/docker_provider/Cargo.toml b/pulumi_wasm_generator/tests/output/docker_provider/Cargo.toml index d5dc4ca8c..c7600752d 100644 --- a/pulumi_wasm_generator/tests/output/docker_provider/Cargo.toml +++ b/pulumi_wasm_generator/tests/output/docker_provider/Cargo.toml @@ -10,8 +10,8 @@ members = [ ] [workspace.dependencies] -wit-bindgen-rt = "0.24.0" -wit-bindgen = "0.24.0" +wit-bindgen-rt = "0.27.0" +wit-bindgen = "0.27.0" automod = "1.0.14" wasm_common = { path = "../../../../wasm_common" } pulumi_wasm_rust = { path = "../../../../pulumi_wasm_rust" } diff --git a/pulumi_wasm_generator/tests/output/docker_provider/lib/src/lib.rs b/pulumi_wasm_generator/tests/output/docker_provider/lib/src/lib.rs index 2245fa2f0..fce0cb3be 100644 --- a/pulumi_wasm_generator/tests/output/docker_provider/lib/src/lib.rs +++ b/pulumi_wasm_generator/tests/output/docker_provider/lib/src/lib.rs @@ -7,6 +7,9 @@ mod bindings { wit_bindgen::generate!({ // the name of the world in the `*.wit` input file world: "main-world-client", + with: { + "component:pulumi-wasm/output-interface@0.1.0": generate + } }); } diff --git a/pulumi_wasm_generator/tests/output/random_provider/Cargo.lock b/pulumi_wasm_generator/tests/output/random_provider/Cargo.lock index f0ab16a5f..3a3fafb5a 100644 --- a/pulumi_wasm_generator/tests/output/random_provider/Cargo.lock +++ b/pulumi_wasm_generator/tests/output/random_provider/Cargo.lock @@ -176,15 +176,6 @@ dependencies = [ "ahash", ] -[[package]] -name = "heck" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" -dependencies = [ - "unicode-segmentation", -] - [[package]] name = "heck" version = "0.5.0" @@ -281,6 +272,16 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "prettyplease" +version = "0.2.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" +dependencies = [ + "proc-macro2", + "syn", +] + [[package]] name = "proc-macro2" version = "1.0.81" @@ -297,7 +298,7 @@ dependencies = [ "automod", "pulumi_wasm_rust", "serde", - "wit-bindgen 0.24.0", + "wit-bindgen", ] [[package]] @@ -305,7 +306,7 @@ name = "pulumi_wasm_random_provider" version = "4.15.0" dependencies = [ "wasm_common", - "wit-bindgen-rt 0.24.0", + "wit-bindgen-rt", ] [[package]] @@ -324,7 +325,7 @@ dependencies = [ "serde_json", "uuid", "wasm_common", - "wit-bindgen 0.26.0", + "wit-bindgen", ] [[package]] @@ -461,12 +462,6 @@ version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" -[[package]] -name = "unicode-segmentation" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" - [[package]] name = "unicode-xid" version = "0.2.4" @@ -497,27 +492,19 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-encoder" -version = "0.202.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfd106365a7f5f7aa3c1916a98cbb3ad477f5ff96ddb130285a91c6e7429e67a" -dependencies = [ - "leb128", -] - -[[package]] -name = "wasm-encoder" -version = "0.209.1" +version = "0.212.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b4a05336882dae732ce6bd48b7e11fe597293cb72c13da4f35d7d5f8d53b2a7" +checksum = "501940df4418b8929eb6d52f1aade1fdd15a5b86c92453cb696e3c906bd3fc33" dependencies = [ "leb128", + "wasmparser", ] [[package]] name = "wasm-metadata" -version = "0.202.0" +version = "0.212.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "094aea3cb90e09f16ee25a4c0e324b3e8c934e7fd838bfa039aef5352f44a917" +checksum = "8a1849fac257fd76c43268555e73d74848c8dff23975c238c2cbad61cffe5045" dependencies = [ "anyhow", "indexmap", @@ -525,24 +512,8 @@ dependencies = [ "serde_derive", "serde_json", "spdx", - "wasm-encoder 0.202.0", - "wasmparser 0.202.0", -] - -[[package]] -name = "wasm-metadata" -version = "0.209.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d32029ce424f6d3c2b39b4419fb45a0e2d84fb0751e0c0a32b7ce8bd5d97f46" -dependencies = [ - "anyhow", - "indexmap", - "serde", - "serde_derive", - "serde_json", - "spdx", - "wasm-encoder 0.209.1", - "wasmparser 0.209.1", + "wasm-encoder", + "wasmparser", ] [[package]] @@ -551,25 +522,14 @@ version = "0.1.0" dependencies = [ "log", "uuid", - "wit-bindgen 0.26.0", + "wit-bindgen", ] [[package]] name = "wasmparser" -version = "0.202.0" +version = "0.212.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6998515d3cf3f8b980ef7c11b29a9b1017d4cf86b99ae93b546992df9931413" -dependencies = [ - "bitflags", - "indexmap", - "semver", -] - -[[package]] -name = "wasmparser" -version = "0.209.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07035cc9a9b41e62d3bb3a3815a66ab87c993c06fe1cf6b2a3f2a18499d937db" +checksum = "8d28bc49ba1e5c5b61ffa7a2eace10820443c4b7d1c0b144109261d14570fdf8" dependencies = [ "ahash", "bitflags", @@ -580,143 +540,70 @@ dependencies = [ [[package]] name = "wit-bindgen" -version = "0.24.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb4e7653763780be47e38f479e9aa83c768aa6a3b2ed086dc2826fdbbb7e7f5" +checksum = "fabce76bbb8938536c437da0c3e1d4dda9065453f72a68f797c0cb3d67356a28" dependencies = [ - "wit-bindgen-rt 0.24.0", - "wit-bindgen-rust-macro 0.24.0", -] - -[[package]] -name = "wit-bindgen" -version = "0.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a84376ff4f74ed07674a1157c0bd19e6627ab01fc90952a27ccefb52a24530f0" -dependencies = [ - "wit-bindgen-rt 0.26.0", - "wit-bindgen-rust-macro 0.26.0", + "wit-bindgen-rt", + "wit-bindgen-rust-macro", ] [[package]] name = "wit-bindgen-core" -version = "0.24.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b67e11c950041849a10828c7600ea62a4077c01e8af72e8593253575428f91b" +checksum = "1b43fbdd3497c471bbfb6973b1fb9ffe6949f158248cb43171d6f1cf3de7eaa3" dependencies = [ "anyhow", - "wit-parser 0.202.0", -] - -[[package]] -name = "wit-bindgen-core" -version = "0.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36d4706efb67fadfbbde77955b299b111dd096e6776d8c6561d92f6147941880" -dependencies = [ - "anyhow", - "heck 0.5.0", - "wit-parser 0.209.1", -] - -[[package]] -name = "wit-bindgen-rt" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b0780cf7046630ed70f689a098cd8d56c5c3b22f2a7379bbdb088879963ff96" -dependencies = [ - "bitflags", + "heck", + "wit-parser", ] [[package]] name = "wit-bindgen-rt" -version = "0.26.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29c7526379ace8709ee9ab9f2bb50f112d95581063a59ef3097d9c10153886c9" +checksum = "75956ff0a04a87ca0526b07199ce3b9baee899f2e4723b5b63aa296ab172ec52" dependencies = [ "bitflags", ] [[package]] name = "wit-bindgen-rust" -version = "0.24.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30acbe8fb708c3a830a33c4cb705df82659bf831b492ec6ca1a17a369cfeeafb" +checksum = "bf509c4ef97b18ec0218741c8318706ac30ff16bc1731f990319a42bbbcfe8e3" dependencies = [ "anyhow", - "heck 0.4.1", + "heck", "indexmap", - "wasm-metadata 0.202.0", - "wit-bindgen-core 0.24.0", - "wit-component 0.202.0", -] - -[[package]] -name = "wit-bindgen-rust" -version = "0.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "514295193d1a2f42e6a948cd7d9fd81e2b8fadc319667dcf19fd7aceaf2113a2" -dependencies = [ - "anyhow", - "heck 0.5.0", - "indexmap", - "wasm-metadata 0.209.1", - "wit-bindgen-core 0.26.0", - "wit-component 0.209.1", -] - -[[package]] -name = "wit-bindgen-rust-macro" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b1b06eae85feaecdf9f2854f7cac124e00d5a6e5014bfb02eb1ecdeb5f265b9" -dependencies = [ - "anyhow", - "proc-macro2", - "quote", + "prettyplease", "syn", - "wit-bindgen-core 0.24.0", - "wit-bindgen-rust 0.24.0", + "wasm-metadata", + "wit-bindgen-core", + "wit-component", ] [[package]] name = "wit-bindgen-rust-macro" -version = "0.26.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0409a3356ca02599aff78f717968fd7f12df4bf879f325e2a97b45c84c90fff" +checksum = "88d6f2e025e38395d71fc1bf064e581b2ad275ce322d6f8d87ddc5e76a7b8c42" dependencies = [ "anyhow", + "prettyplease", "proc-macro2", "quote", "syn", - "wit-bindgen-core 0.26.0", - "wit-bindgen-rust 0.26.0", -] - -[[package]] -name = "wit-component" -version = "0.202.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c836b1fd9932de0431c1758d8be08212071b6bba0151f7bac826dbc4312a2a9" -dependencies = [ - "anyhow", - "bitflags", - "indexmap", - "log", - "serde", - "serde_derive", - "serde_json", - "wasm-encoder 0.202.0", - "wasm-metadata 0.202.0", - "wasmparser 0.202.0", - "wit-parser 0.202.0", + "wit-bindgen-core", + "wit-bindgen-rust", ] [[package]] name = "wit-component" -version = "0.209.1" +version = "0.212.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25a2bb5b039f9cb03425e1d5a6e54b441ca4ca1b1d4fa6a0924db67a55168f99" +checksum = "8ed5b0f9fc3d6424787d2a49e1142bf954ae4f26ee891992c144f0cfd68c4b7f" dependencies = [ "anyhow", "bitflags", @@ -725,35 +612,17 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "wasm-encoder 0.209.1", - "wasm-metadata 0.209.1", - "wasmparser 0.209.1", - "wit-parser 0.209.1", -] - -[[package]] -name = "wit-parser" -version = "0.202.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "744237b488352f4f27bca05a10acb79474415951c450e52ebd0da784c1df2bcc" -dependencies = [ - "anyhow", - "id-arena", - "indexmap", - "log", - "semver", - "serde", - "serde_derive", - "serde_json", - "unicode-xid", - "wasmparser 0.202.0", + "wasm-encoder", + "wasm-metadata", + "wasmparser", + "wit-parser", ] [[package]] name = "wit-parser" -version = "0.209.1" +version = "0.212.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e79b9e3c0b6bb589dec46317e645851e0db2734c44e2be5e251b03ff4a51269" +checksum = "ceeb0424aa8679f3fcf2d6e3cfa381f3d6fa6179976a2c05a6249dd2bb426716" dependencies = [ "anyhow", "id-arena", @@ -764,7 +633,7 @@ dependencies = [ "serde_derive", "serde_json", "unicode-xid", - "wasmparser 0.209.1", + "wasmparser", ] [[package]] diff --git a/pulumi_wasm_generator/tests/output/random_provider/Cargo.toml b/pulumi_wasm_generator/tests/output/random_provider/Cargo.toml index d5dc4ca8c..c7600752d 100644 --- a/pulumi_wasm_generator/tests/output/random_provider/Cargo.toml +++ b/pulumi_wasm_generator/tests/output/random_provider/Cargo.toml @@ -10,8 +10,8 @@ members = [ ] [workspace.dependencies] -wit-bindgen-rt = "0.24.0" -wit-bindgen = "0.24.0" +wit-bindgen-rt = "0.27.0" +wit-bindgen = "0.27.0" automod = "1.0.14" wasm_common = { path = "../../../../wasm_common" } pulumi_wasm_rust = { path = "../../../../pulumi_wasm_rust" } diff --git a/pulumi_wasm_generator/tests/output/random_provider/lib/src/lib.rs b/pulumi_wasm_generator/tests/output/random_provider/lib/src/lib.rs index 2245fa2f0..fce0cb3be 100644 --- a/pulumi_wasm_generator/tests/output/random_provider/lib/src/lib.rs +++ b/pulumi_wasm_generator/tests/output/random_provider/lib/src/lib.rs @@ -7,6 +7,9 @@ mod bindings { wit_bindgen::generate!({ // the name of the world in the `*.wit` input file world: "main-world-client", + with: { + "component:pulumi-wasm/output-interface@0.1.0": generate + } }); }