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.11.0 to 0.12.0 #278

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 25, 2023

Updates the requirements on delegate to permit the latest version.

Changelog

Sourced from delegate's changelog.

0.12.0 (22. 12. 2023)

  • Add new #[newtype] function parameter modifier (#64). Implemented by Techassi

  • Allow passing arbitrary attributes to delegation segments:

impl Foo {
  delegate! {
    #[inline(always)]
    to self.0 { ... }
  }
}

0.11.0 (4. 12. 2023)

  • Allow delegating an associated function (not just a method).
struct A {}
impl A {
    fn foo(a: u32) -> u32 {
        a + 1
    }
}
struct B;
impl B {
delegate! {
to A {
fn foo(a: u32) -> u32;
}
}
}

0.10.0 (29. 6. 2023)

  • Allow specifying certain attributes (e.g. #[into] or #[unwrap]) on delegated segments. The attribute will then be applied to all methods in that segment (unless it is overwritten on the method itself).
delegate! {
  #[unwrap]
  to self.inner {
    fn foo(&self) -> u32; // calls self.inner.foo().unwrap()
    fn bar(&self) -> u32; // calls self.inner.bar().unwrap()
  }
}
  • Add new #[unwrap] method modifier. Adding it on top of a delegated method will cause the generated code to .unwrap() the result.
</tr></table> 

... (truncated)

Commits
  • ac852be Bump version
  • d0101f4 Reword newtype in README
  • 6d416dd Update README and changelog
  • d0e8104 feat: Add newtype parameter attribute modifier
  • 1e3278a Fix readme
  • 07697a3 Change default inlining mode to #[inline]
  • 81c1483 Fix segment attribute propagation
  • 69e37d5 Allow passing arbitrary attributes to segments
  • 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.11.0...v0.12.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 Dec 25, 2023
Copy link

codecov bot commented Dec 25, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (26a87fc) 84.09% compared to head (4f61496) 84.09%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #278   +/-   ##
=======================================
  Coverage   84.09%   84.09%           
=======================================
  Files          35       35           
  Lines        4364     4364           
  Branches     4217     4217           
=======================================
  Hits         3670     3670           
  Misses        501      501           
  Partials      193      193           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@aborgna-q aborgna-q added this pull request to the merge queue Jan 2, 2024
Merged via the queue into main with commit 9d59276 Jan 2, 2024
12 checks passed
@aborgna-q aborgna-q deleted the dependabot/cargo/delegate-0.12.0 branch January 2, 2024 09:00
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