Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update delegate requirement from 0.11.0 to 0.12.0 (#760)
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.12.0 (22. 12. 2023)</h1> <ul> <li> <p>Add new <code>#[newtype]</code> function parameter modifier (<a href="https://redirect.github.com/Kobzol/rust-delegate/pull/64">#64</a>). Implemented by <a href="https://github.com/Techassi">Techassi</a></p> </li> <li> <p>Allow passing arbitrary attributes to delegation segments:</p> </li> </ul> <pre lang="rust"><code>impl Foo { delegate! { #[inline(always)] to self.0 { ... } } } </code></pre> <ul> <li>Change the default inlining mode from <code>#[inline(always)]</code> to <code>#[inline]</code> (<a href="https://redirect.github.com/Kobzol/rust-delegate/issues/61">Kobzol/rust-delegate#61</a>).</li> </ul> <h1>0.11.0 (4. 12. 2023)</h1> <ul> <li>Allow delegating an associated function (not just a method).</li> </ul> <pre lang="rust"><code>struct A {} impl A { fn foo(a: u32) -> u32 { a + 1 } } <p>struct B; impl B { delegate! { to A { fn foo(a: u32) -> u32; } } } </code></pre></p> <h1>0.10.0 (29. 6. 2023)</h1> <ul> <li>Allow specifying certain attributes (e.g. <code>#[into]</code> or <code>#[unwrap]</code>) on delegated segments. The attribute will then be applied to all methods in that segment (unless it is overwritten on the method itself).</li> </ul> <pre lang="rust"><code>delegate! { #[unwrap] to self.inner { fn foo(&self) -> u32; // calls self.inner.foo().unwrap() fn bar(&self) -> u32; // calls self.inner.bar().unwrap() } } </code></pre> <ul> <li>Add new <code>#[unwrap]</code> method modifier. Adding it on top of a delegated method will cause the generated code to <code>.unwrap()</code> the result.</li> </ul> <pre lang="rust"><code></tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Kobzol/rust-delegate/commit/ac852be64f3e4b5f9b58be910d09921488d2845d"><code>ac852be</code></a> Bump version</li> <li><a href="https://github.com/Kobzol/rust-delegate/commit/d0101f43db895b5257c0e72dda1f4e37c61f6631"><code>d0101f4</code></a> Reword <code>newtype</code> in README</li> <li><a href="https://github.com/Kobzol/rust-delegate/commit/6d416dd9ddef3c14655c03b3f47b1fbf16097190"><code>6d416dd</code></a> Update README and changelog</li> <li><a href="https://github.com/Kobzol/rust-delegate/commit/d0e8104d570ffde52e988610fdde6b07fab2f779"><code>d0e8104</code></a> feat: Add <code>newtype</code> parameter attribute modifier</li> <li><a href="https://github.com/Kobzol/rust-delegate/commit/1e3278a71dfb92adc90af28faba937dfe2a0363b"><code>1e3278a</code></a> Fix readme</li> <li><a href="https://github.com/Kobzol/rust-delegate/commit/07697a3195fec5cb422b6e89adb9ca7e559c4568"><code>07697a3</code></a> Change default inlining mode to <code>#[inline]</code></li> <li><a href="https://github.com/Kobzol/rust-delegate/commit/81c148340f8d3ff3247d3aeedb8d3d7f0a31d494"><code>81c1483</code></a> Fix segment attribute propagation</li> <li><a href="https://github.com/Kobzol/rust-delegate/commit/69e37d559c9877090ece0e18546ce643d5b14f81"><code>69e37d5</code></a> Allow passing arbitrary attributes to segments</li> <li>See full diff in <a href="https://github.com/kobzol/rust-delegate/compare/v0.11.0...v0.12.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