Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update delegate requirement from 0.12.0 to 0.13.0 #148

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 2, 2024

Updates the requirements on delegate to permit the latest version.

Changelog

Sourced from delegate's changelog.

0.13.0 (2. 9. 2024)

  • Generalize match arms handling. You can now combine a match expression target with annotations like #[into] and others:
struct A;
impl A {
pub fn callable(self) -> Self {
self
}
}
struct B;
impl B {
pub fn callable(self) -> Self {
self
}
}
enum Common {
A(A),
B(B),
}
impl From<A> for Common {
fn from(inner: A) -> Self {
Self::A(inner)
}
}
impl From<B> for Common {
fn from(inner: B) -> Self {
Self::B(inner)
}
}
impl Common {
delegate! {
to match self {
// ---------- match arms have incompatible types
Common::A(inner) => inner;
Common::B(inner) => inner;
} {
#[into]
pub fn callable(self) -> Self;
}
}
</tr></table>

... (truncated)

Commits
  • 0f61120 Bump version to 0.13.0
  • d36262b Modify changelog
  • 3b21055 Make #[into] and #[try_into] generate no_std-compatible code
  • 868eaee Fix doc indentation
  • c681324 Fix doc indentation
  • eb03baf Add example of delegating associated functions
  • 556adea Generalize handling of match expressions
  • See full diff in compare view

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 commands and options

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)

Updates the requirements on [delegate](https://github.com/kobzol/rust-delegate) to permit the latest version.
- [Changelog](https://github.com/Kobzol/rust-delegate/blob/main/CHANGELOG.md)
- [Commits](Kobzol/rust-delegate@v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: delegate
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 2, 2024
@aborgna-q aborgna-q added this pull request to the merge queue Sep 2, 2024
Merged via the queue into main with commit af3d3e4 Sep 2, 2024
10 checks passed
@aborgna-q aborgna-q deleted the dependabot/cargo/delegate-0.13.0 branch September 2, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant