Skip to content

Commit

Permalink
build(deps): update aws-types requirement from 0.55.3 to 0.56.0 (#11)
Browse files Browse the repository at this point in the history
Updates the requirements on
[aws-types](https://github.com/awslabs/smithy-rs) to permit the latest
version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/awslabs/smithy-rs/blob/main/CHANGELOG.md">aws-types's
changelog</a>.</em></p>
<blockquote>
<!-- raw HTML omitted -->
<h1>August 1st, 2023</h1>
<p><strong>Breaking Changes:</strong></p>
<ul>
<li>
<p>⚠🎉 (server, <a
href="https://redirect.github.com/awslabs/smithy-rs/issues/2740">smithy-rs#2740</a>,
<a
href="https://redirect.github.com/awslabs/smithy-rs/issues/2759">smithy-rs#2759</a>,
<a
href="https://redirect.github.com/awslabs/smithy-rs/issues/2779">smithy-rs#2779</a>,
<a
href="https://redirect.github.com/awslabs/smithy-rs/issues/2827">smithy-rs#2827</a>,
<a href="https://github.com/hlbarber"><code>@​hlbarber</code></a>) The
middleware system has been reworked as we push for a unified, simple,
and consistent API. The following changes have been made in service of
this goal:</p>
<ul>
<li>A <code>ServiceShape</code> trait has been added.</li>
<li>The <code>Plugin</code> trait has been simplified.</li>
<li>The <code>HttpMarker</code> and <code>ModelMarker</code> marker
traits have been added to better distinguish when plugins run and what
they have access to.</li>
<li>The <code>Operation</code> structure has been removed.</li>
<li>A <code>Scoped</code> <code>Plugin</code> has been added.</li>
</ul>
<p>The <code>Plugin</code> trait has now been simplified and the
<code>Operation</code> struct has been removed.</p>
<h2>Addition of <code>ServiceShape</code></h2>
<p>Since the <a
href="https://github.com/awslabs/smithy-rs/releases/tag/release-2022-12-12">0.52
release</a> the <code>OperationShape</code> has existed.</p>
<pre lang="rust"><code>/// Models the [Smithy Operation shape].
///
/// [Smithy Operation shape]:
https://awslabs.github.io/smithy/1.0/spec/core/model.html#operation
pub trait OperationShape {
    /// The ID of the operation.
    const ID: ShapeId;
<pre><code>/// The operation input.
type Input;
/// The operation output.
type Output;
/// The operation error.
[`Infallible`](https://github.com/awslabs/smithy-rs/blob/main/std::convert::Infallible)
in the case where no error
/// exists.
type Error;
</code></pre>
<p>}
</code></pre></p>
<p>This allowed <code>Plugin</code> authors to access these associated
types and constants. See the <a
href="https://github.com/awslabs/smithy-rs/blob/main/examples/pokemon-service/src/plugin.rs"><code>PrintPlugin</code></a>
as an example.</p>
<p>We continue with this approach and introduce the following trait:</p>
<pre lang="rust"><code>/// Models the [Smithy Service shape].
///
/// [Smithy Service shape]:
https://smithy.io/2.0/spec/service-types.html
pub trait ServiceShape {
    /// The [`ShapeId`] of the service.
    const ID: ShapeId;
<pre><code>/// The version of the service.
const VERSION: Option&amp;lt;&amp;amp;'static str&amp;gt;;
</code></pre>
<p></code></pre></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/awslabs/smithy-rs/commits">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Aug 7, 2023
1 parent dea1930 commit 38f3e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ aws-config = "0.55.3"
aws-sdk-dynamodb = "0.28.0"
aws-sdk-s3 = "0.28.0"
aws-sdk-sqs = "0.28.0"
aws-types = "0.55.3"
aws-types = "0.56.0"
bitcoincore-rpc = "0.17.0"
futures = "0.3"
lapin = "2.2.1"
Expand Down

0 comments on commit 38f3e55

Please sign in to comment.