Skip to content

Commit

Permalink
chore(deps): update dependency cargo-component to 0.13.0 (#197)
Browse files Browse the repository at this point in the history
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [cargo-component](https://togithub.com/bytecodealliance/cargo-component) | minor | `0.10.1` -> `0.13.0` |

---

### Release Notes

<details>
<summary>bytecodealliance/cargo-component (cargo-component)</summary>

### [`v0.13.2`](https://togithub.com/bytecodealliance/cargo-component/releases/tag/v0.13.2)

[Compare Source](https://togithub.com/bytecodealliance/cargo-component/compare/v0.13.1...v0.13.2)

#### What's Changed

-   Add `cargo component serve` subcommand by [@&#8203;primoly](https://togithub.com/primoly) in [https://github.com/bytecodealliance/cargo-component/pull/305](https://togithub.com/bytecodealliance/cargo-component/pull/305)
-   added wasmtime wasi args for `cargo component serve` by [@&#8203;calvinrp](https://togithub.com/calvinrp) in [https://github.com/bytecodealliance/cargo-component/pull/308](https://togithub.com/bytecodealliance/cargo-component/pull/308)

#### New Contributors

-   [@&#8203;primoly](https://togithub.com/primoly) made their first contribution in [https://github.com/bytecodealliance/cargo-component/pull/305](https://togithub.com/bytecodealliance/cargo-component/pull/305)

**Full Changelog**: bytecodealliance/cargo-component@v0.13.1...v0.13.2

### [`v0.13.1`](https://togithub.com/bytecodealliance/cargo-component/releases/tag/v0.13.1)

[Compare Source](https://togithub.com/bytecodealliance/cargo-component/compare/v0.13.0...v0.13.1)

#### What's Changed

-   More `cargo component new` generator fixes by [@&#8203;calvinrp](https://togithub.com/calvinrp) in [https://github.com/bytecodealliance/cargo-component/pull/304](https://togithub.com/bytecodealliance/cargo-component/pull/304)

**Full Changelog**: bytecodealliance/cargo-component@v0.13.0...v0.13.1

### [`v0.13.0`](https://togithub.com/bytecodealliance/cargo-component/releases/tag/v0.13.0)

[Compare Source](https://togithub.com/bytecodealliance/cargo-component/compare/v0.12.0...v0.13.0)

#### What's Changed

-   set dev version by [@&#8203;calvinrp](https://togithub.com/calvinrp) in [https://github.com/bytecodealliance/cargo-component/pull/297](https://togithub.com/bytecodealliance/cargo-component/pull/297)
-   Bug fixes for targeting a world with resource borrows by [@&#8203;calvinrp](https://togithub.com/calvinrp) in [https://github.com/bytecodealliance/cargo-component/pull/300](https://togithub.com/bytecodealliance/cargo-component/pull/300)

**Full Changelog**: bytecodealliance/cargo-component@v0.12.0...v0.13.0

### [`v0.12.0`](https://togithub.com/bytecodealliance/cargo-component/releases/tag/v0.12.0)

[Compare Source](https://togithub.com/bytecodealliance/cargo-component/compare/v0.11.0...v0.12.0)

#### What's Changed

-   add support for missing settings from wit-bindgen by [@&#8203;sehnryr](https://togithub.com/sehnryr) in [https://github.com/bytecodealliance/cargo-component/pull/273](https://togithub.com/bytecodealliance/cargo-component/pull/273)
-   fix kebab case issue by [@&#8203;fibonacci1729](https://togithub.com/fibonacci1729) in [https://github.com/bytecodealliance/cargo-component/pull/274](https://togithub.com/bytecodealliance/cargo-component/pull/274)
-   Help mesasage improvement ([#&#8203;138](https://togithub.com/bytecodealliance/cargo-component/issues/138)) by [@&#8203;chikoski](https://togithub.com/chikoski) in [https://github.com/bytecodealliance/cargo-component/pull/278](https://togithub.com/bytecodealliance/cargo-component/pull/278)
-   Update the example to use the latest version of cargo-component by [@&#8203;rylev](https://togithub.com/rylev) in [https://github.com/bytecodealliance/cargo-component/pull/283](https://togithub.com/bytecodealliance/cargo-component/pull/283)
-   fix test assertions after rust upgrade by [@&#8203;calvinrp](https://togithub.com/calvinrp) in [https://github.com/bytecodealliance/cargo-component/pull/287](https://togithub.com/bytecodealliance/cargo-component/pull/287)
-   Add `profile.release` to `Cargo.toml` generated by `cargo component new` by [@&#8203;calvinrp](https://togithub.com/calvinrp) in [https://github.com/bytecodealliance/cargo-component/pull/289](https://togithub.com/bytecodealliance/cargo-component/pull/289)
-   Update install instruction to use --locked by [@&#8203;fibonacci1729](https://togithub.com/fibonacci1729) in [https://github.com/bytecodealliance/cargo-component/pull/292](https://togithub.com/bytecodealliance/cargo-component/pull/292)
-   Update to latest Warg release to support registry federation by [@&#8203;calvinrp](https://togithub.com/calvinrp) in [https://github.com/bytecodealliance/cargo-component/pull/288](https://togithub.com/bytecodealliance/cargo-component/pull/288)
-   removed unused warg-credentials dependency by [@&#8203;calvinrp](https://togithub.com/calvinrp) in [https://github.com/bytecodealliance/cargo-component/pull/295](https://togithub.com/bytecodealliance/cargo-component/pull/295)
-   Warg update 0.7 by [@&#8203;calvinrp](https://togithub.com/calvinrp) in [https://github.com/bytecodealliance/cargo-component/pull/296](https://togithub.com/bytecodealliance/cargo-component/pull/296)

#### New Contributors

-   [@&#8203;sehnryr](https://togithub.com/sehnryr) made their first contribution in [https://github.com/bytecodealliance/cargo-component/pull/273](https://togithub.com/bytecodealliance/cargo-component/pull/273)
-   [@&#8203;fibonacci1729](https://togithub.com/fibonacci1729) made their first contribution in [https://github.com/bytecodealliance/cargo-component/pull/274](https://togithub.com/bytecodealliance/cargo-component/pull/274)
-   [@&#8203;chikoski](https://togithub.com/chikoski) made their first contribution in [https://github.com/bytecodealliance/cargo-component/pull/278](https://togithub.com/bytecodealliance/cargo-component/pull/278)
-   [@&#8203;calvinrp](https://togithub.com/calvinrp) made their first contribution in [https://github.com/bytecodealliance/cargo-component/pull/287](https://togithub.com/bytecodealliance/cargo-component/pull/287)

**Full Changelog**: bytecodealliance/cargo-component@v0.11.0...v0.12.0

### [`v0.11.0`](https://togithub.com/bytecodealliance/cargo-component/releases/tag/v0.11.0)

[Compare Source](https://togithub.com/bytecodealliance/cargo-component/compare/v0.10.1...v0.11.0)

#### Compatibility

-   Wasmtime: 17.0.0+
-   WASI: 0.2.0
-   Warg (registry support): 0.4.0

#### What's Changed

-   Update wit-bindgen and wasm-tools. by [@&#8203;sunfishcode](https://togithub.com/sunfishcode) in [https://github.com/bytecodealliance/cargo-component/pull/266](https://togithub.com/bytecodealliance/cargo-component/pull/266)
-   Synchronize artifact componentization.  by [@&#8203;peterhuene](https://togithub.com/peterhuene) in [https://github.com/bytecodealliance/cargo-component/pull/270](https://togithub.com/bytecodealliance/cargo-component/pull/270)
-   Bump version to 0.11.0. by [@&#8203;peterhuene](https://togithub.com/peterhuene) in [https://github.com/bytecodealliance/cargo-component/pull/271](https://togithub.com/bytecodealliance/cargo-component/pull/271)

**Full Changelog**: bytecodealliance/cargo-component@v0.10.1...v0.11.0

</details>

---

### 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 this update 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).
  • Loading branch information
renovate[bot] authored Jun 30, 2024
1 parent d846276 commit 59620f7
Show file tree
Hide file tree
Showing 22 changed files with 350 additions and 163 deletions.
20 changes: 15 additions & 5 deletions cargo-pulumi/tests/fixtures/example/common/src/bindings.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
// Generated by `wit-bindgen` 0.21.0. DO NOT EDIT!
// Generated by `wit-bindgen` 0.25.0. DO NOT EDIT!
// Options used:
#[allow(dead_code)]
pub mod exports {
#[allow(dead_code)]
pub mod example {
#[allow(dead_code)]
pub mod service {
#[allow(clippy::all)]
#[allow(dead_code, clippy::all)]
pub mod common_interface {
#[used]
#[doc(hidden)]
Expand All @@ -14,6 +17,8 @@ pub mod exports {
#[doc(hidden)]
#[allow(non_snake_case)]
pub unsafe fn _export_run_common_cabi<T: Guest>() -> *mut u8 {
#[cfg(target_arch = "wasm32")]
_rt::run_ctors_once();
let result0 = T::run_common();
let ptr1 = _RET_AREA.0.as_mut_ptr().cast::<u8>();
let vec2 = (result0.into_bytes()).into_boxed_slice();
Expand Down Expand Up @@ -59,6 +64,11 @@ pub mod exports {
}
}
mod _rt {

#[cfg(target_arch = "wasm32")]
pub fn run_ctors_once() {
wit_bindgen_rt::run_ctors_once();
}
pub unsafe fn cabi_dealloc(ptr: *mut u8, size: usize, align: usize) {
if size == 0 {
return;
Expand Down Expand Up @@ -100,14 +110,14 @@ macro_rules! __export_common_impl {
pub(crate) use __export_common_impl as export;

#[cfg(target_arch = "wasm32")]
#[link_section = "component-type:wit-bindgen:0.21.0:common:encoded world"]
#[link_section = "component-type:wit-bindgen:0.25.0:common:encoded world"]
#[doc(hidden)]
pub static __WIT_BINDGEN_COMPONENT_TYPE: [u8; 229] = *b"\
\0asm\x0d\0\x01\0\0\x19\x16wit-component-encoding\x04\0\x07i\x01A\x02\x01A\x02\x01\
B\x02\x01@\0\0s\x04\0\x0arun-common\x01\0\x04\x01&example:service/common-interfa\
ce@0.1.0\x05\0\x04\x01\x1cexample:service/common@0.1.0\x04\0\x0b\x0c\x01\0\x06co\
mmon\x03\0\0\0G\x09producers\x01\x0cprocessed-by\x02\x0dwit-component\x070.201.0\
\x10wit-bindgen-rust\x060.21.0";
mmon\x03\0\0\0G\x09producers\x01\x0cprocessed-by\x02\x0dwit-component\x070.208.1\
\x10wit-bindgen-rust\x060.25.0";

#[inline(never)]
#[doc(hidden)]
Expand Down
24 changes: 18 additions & 6 deletions cargo-pulumi/tests/fixtures/example/main/src/bindings.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
// Generated by `wit-bindgen` 0.21.0. DO NOT EDIT!
// Generated by `wit-bindgen` 0.25.0. DO NOT EDIT!
// Options used:
#[allow(dead_code)]
pub mod example {
#[allow(dead_code)]
pub mod service {
#[allow(clippy::all)]
#[allow(dead_code, clippy::all)]
pub mod a_interface {
#[used]
#[doc(hidden)]
Expand Down Expand Up @@ -38,7 +40,7 @@ pub mod example {
}
}

#[allow(clippy::all)]
#[allow(dead_code, clippy::all)]
pub mod common_interface {
#[used]
#[doc(hidden)]
Expand Down Expand Up @@ -75,10 +77,13 @@ pub mod example {
}
}
}
#[allow(dead_code)]
pub mod exports {
#[allow(dead_code)]
pub mod example {
#[allow(dead_code)]
pub mod service {
#[allow(clippy::all)]
#[allow(dead_code, clippy::all)]
pub mod main_interface {
#[used]
#[doc(hidden)]
Expand All @@ -89,6 +94,8 @@ pub mod exports {
#[doc(hidden)]
#[allow(non_snake_case)]
pub unsafe fn _export_main_cabi<T: Guest>() -> *mut u8 {
#[cfg(target_arch = "wasm32")]
_rt::run_ctors_once();
let result0 = T::main();
let ptr1 = _RET_AREA.0.as_mut_ptr().cast::<u8>();
let vec2 = (result0.into_bytes()).into_boxed_slice();
Expand Down Expand Up @@ -143,6 +150,11 @@ mod _rt {
String::from_utf8_unchecked(bytes)
}
}

#[cfg(target_arch = "wasm32")]
pub fn run_ctors_once() {
wit_bindgen_rt::run_ctors_once();
}
pub unsafe fn cabi_dealloc(ptr: *mut u8, size: usize, align: usize) {
if size == 0 {
return;
Expand Down Expand Up @@ -183,7 +195,7 @@ macro_rules! __export_main_impl {
pub(crate) use __export_main_impl as export;

#[cfg(target_arch = "wasm32")]
#[link_section = "component-type:wit-bindgen:0.21.0:main:encoded world"]
#[link_section = "component-type:wit-bindgen:0.25.0:main:encoded world"]
#[doc(hidden)]
pub static __WIT_BINDGEN_COMPONENT_TYPE: [u8; 340] = *b"\
\0asm\x0d\0\x01\0\0\x19\x16wit-component-encoding\x04\0\x07\xd9\x01\x01A\x02\x01\
Expand All @@ -192,7 +204,7 @@ e@0.1.0\x05\0\x01B\x02\x01@\0\0s\x04\0\x0arun-common\x01\0\x03\x01&example:servi
ce/common-interface@0.1.0\x05\x01\x01B\x02\x01@\0\0s\x04\0\x04main\x01\0\x04\x01\
$example:service/main-interface@0.1.0\x05\x02\x04\x01\x1aexample:service/main@0.\
1.0\x04\0\x0b\x0a\x01\0\x04main\x03\0\0\0G\x09producers\x01\x0cprocessed-by\x02\x0d\
wit-component\x070.201.0\x10wit-bindgen-rust\x060.21.0";
wit-component\x070.208.1\x10wit-bindgen-rust\x060.25.0";

#[inline(never)]
#[doc(hidden)]
Expand Down
22 changes: 17 additions & 5 deletions cargo-pulumi/tests/fixtures/example/provider_a/src/bindings.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
// Generated by `wit-bindgen` 0.21.0. DO NOT EDIT!
// Generated by `wit-bindgen` 0.25.0. DO NOT EDIT!
// Options used:
#[allow(dead_code)]
pub mod example {
#[allow(dead_code)]
pub mod service {
#[allow(clippy::all)]
#[allow(dead_code, clippy::all)]
pub mod common_interface {
#[used]
#[doc(hidden)]
Expand Down Expand Up @@ -39,10 +41,13 @@ pub mod example {
}
}
}
#[allow(dead_code)]
pub mod exports {
#[allow(dead_code)]
pub mod example {
#[allow(dead_code)]
pub mod service {
#[allow(clippy::all)]
#[allow(dead_code, clippy::all)]
pub mod a_interface {
#[used]
#[doc(hidden)]
Expand All @@ -53,6 +58,8 @@ pub mod exports {
#[doc(hidden)]
#[allow(non_snake_case)]
pub unsafe fn _export_run_a_cabi<T: Guest>() -> *mut u8 {
#[cfg(target_arch = "wasm32")]
_rt::run_ctors_once();
let result0 = T::run_a();
let ptr1 = _RET_AREA.0.as_mut_ptr().cast::<u8>();
let vec2 = (result0.into_bytes()).into_boxed_slice();
Expand Down Expand Up @@ -107,6 +114,11 @@ mod _rt {
String::from_utf8_unchecked(bytes)
}
}

#[cfg(target_arch = "wasm32")]
pub fn run_ctors_once() {
wit_bindgen_rt::run_ctors_once();
}
pub unsafe fn cabi_dealloc(ptr: *mut u8, size: usize, align: usize) {
if size == 0 {
return;
Expand Down Expand Up @@ -147,15 +159,15 @@ macro_rules! __export_provider_a_impl {
pub(crate) use __export_provider_a_impl as export;

#[cfg(target_arch = "wasm32")]
#[link_section = "component-type:wit-bindgen:0.21.0:provider-a:encoded world"]
#[link_section = "component-type:wit-bindgen:0.25.0:provider-a:encoded world"]
#[doc(hidden)]
pub static __WIT_BINDGEN_COMPONENT_TYPE: [u8; 294] = *b"\
\0asm\x0d\0\x01\0\0\x19\x16wit-component-encoding\x04\0\x07\xa5\x01\x01A\x02\x01\
A\x04\x01B\x02\x01@\0\0s\x04\0\x0arun-common\x01\0\x03\x01&example:service/commo\
n-interface@0.1.0\x05\0\x01B\x02\x01@\0\0s\x04\0\x05run-a\x01\0\x04\x01!example:\
service/a-interface@0.1.0\x05\x01\x04\x01\x20example:service/provider-a@0.1.0\x04\
\0\x0b\x10\x01\0\x0aprovider-a\x03\0\0\0G\x09producers\x01\x0cprocessed-by\x02\x0d\
wit-component\x070.201.0\x10wit-bindgen-rust\x060.21.0";
wit-component\x070.208.1\x10wit-bindgen-rust\x060.25.0";

#[inline(never)]
#[doc(hidden)]
Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ set windows-shell := ["pwsh.exe", "-c"]
# renovate: datasource=crate depName=cargo-nextest packageName=cargo-nextest
NEXTEST_VERSION := "0.9.72"
# renovate: datasource=crate depName=cargo-component packageName=cargo-component
CARGO_COMPONENT_VERSION := "0.10.1"
CARGO_COMPONENT_VERSION := "0.13.0"
# renovate: datasource=crate depName=wasm-tools packageName=wasm-tools
WASM_TOOLS_VERSION := "1.202.0"

Expand Down
Loading

0 comments on commit 59620f7

Please sign in to comment.