Skip to content

Commit

Permalink
chore(deps): update delegate requirement from 0.12.0 to 0.13.0 (#148)
Browse files Browse the repository at this point in the history
Updates the requirements on
[delegate](https://github.com/kobzol/rust-delegate) to permit the latest
version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/Kobzol/rust-delegate/blob/main/CHANGELOG.md">delegate's
changelog</a>.</em></p>
<blockquote>
<h1>0.13.0 (2. 9. 2024)</h1>
<ul>
<li>Generalize match arms handling. You can now combine a match
expression target with annotations like <code>#[into]</code> and
others:</li>
</ul>
<pre lang="rust"><code>struct A;
<p>impl A {
pub fn callable(self) -&gt; Self {
self
}
}</p>
<p>struct B;</p>
<p>impl B {
pub fn callable(self) -&gt; Self {
self
}
}</p>
<p>enum Common {
A(A),
B(B),
}</p>
<p>impl From&lt;A&gt; for Common {
fn from(inner: A) -&gt; Self {
Self::A(inner)
}
}</p>
<p>impl From&lt;B&gt; for Common {
fn from(inner: B) -&gt; Self {
Self::B(inner)
}
}</p>
<p>impl Common {
delegate! {
to match self {
// ---------- <code>match</code> arms have incompatible types
Common::A(inner) =&gt; inner;
Common::B(inner) =&gt; inner;
} {
#[into]
pub fn callable(self) -&gt; Self;
}
}
&lt;/tr&gt;&lt;/table&gt;
</code></pre></p>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Kobzol/rust-delegate/commit/0f6112063d2f67bab3523488d0b336ab4d6eb169"><code>0f61120</code></a>
Bump version to 0.13.0</li>
<li><a
href="https://github.com/Kobzol/rust-delegate/commit/d36262b192344427a67413bc9fc6f5ccf52fa6c8"><code>d36262b</code></a>
Modify changelog</li>
<li><a
href="https://github.com/Kobzol/rust-delegate/commit/3b210552dbd8b44f6c635fc852addadd9d961d32"><code>3b21055</code></a>
Make <code>#[into]</code> and <code>#[try_into]</code> generate
<code>no_std</code>-compatible code</li>
<li><a
href="https://github.com/Kobzol/rust-delegate/commit/868eaeef4658b387bce7ed22a60ba8d4821ab921"><code>868eaee</code></a>
Fix doc indentation</li>
<li><a
href="https://github.com/Kobzol/rust-delegate/commit/c6813242693c1ae2750aa55d6721ae2a2d90676e"><code>c681324</code></a>
Fix doc indentation</li>
<li><a
href="https://github.com/Kobzol/rust-delegate/commit/eb03bafc9981163b1436b28c6238f33695baf41a"><code>eb03baf</code></a>
Add example of delegating associated functions</li>
<li><a
href="https://github.com/Kobzol/rust-delegate/commit/556adea8428a4cb48b6b35636febc032cd456f05"><code>556adea</code></a>
Generalize handling of match expressions</li>
<li>See full diff in <a
href="https://github.com/kobzol/rust-delegate/compare/v0.12.0...v0.13.0">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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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 Sep 2, 2024
1 parent 266eaee commit af3d3e4
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 @@ -27,7 +27,7 @@ serde = { version = "1.0.152", features = ["derive"], optional = true }
proptest = { version = "1.1.0", optional = true }
rand = { version = "0.8.5", optional = true }
petgraph = { version = "0.6.3", optional = true }
delegate = "0.12.0"
delegate = "0.13.0"
context-iterators = "0.2.0"
itertools = "0.13.0"

Expand Down

0 comments on commit af3d3e4

Please sign in to comment.