Skip to content

Commit

Permalink
chore(deps): Bump cached from 0.43.0 to 0.44.0 (#17599)
Browse files Browse the repository at this point in the history
Bumps [cached](https://github.com/jaemk/cached) from 0.43.0 to 0.44.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/jaemk/cached/blob/master/CHANGELOG.md">cached's
changelog</a>.</em></p>
<blockquote>
<h2>[0.44.0] / [cached_proc_macro[0.17.0]]</h2>
<h2>Added</h2>
<ul>
<li>Option to enable redis multiplex-connection manager on
<code>AsyncRedisCache</code></li>
</ul>
<h2>Changed</h2>
<ul>
<li>
<p>Show proc-macro documentation on docs.rs</p>
</li>
<li>
<p>Document needed feature flags</p>
</li>
<li>
<p>Hide implementation details in documentation</p>
</li>
<li>
<p>Relax <code>Cached</code> trait's <code>cache_get</code>,
<code>cache_get_mut</code> and <code>cache_remove</code> key parameter.
Allow <code>K: Borrow&lt;Q&gt;</code>
like <code>std::collections::HashMap</code> and friends. Avoids copies
particularly on <code>Cached&lt;String, _&gt;</code> where now
you can do <code>cache.cache_get(&quot;key&quot;)</code> and before you
had to <code>cache.cache_get(&quot;key&quot;.to_string())</code>.</p>
<p>Note: This is a minor breaking change for anyone manually
implementing the <code>Cached</code> trait.
The signatures of <code>cache_get</code>, <code>cache_get_mut</code>,
and <code>cache_remove</code> must be updated to include the
additional trait bound on the <code>key</code> type:</p>
<pre lang="rust"><code> fn cache_get&lt;Q&gt;(&amp;mut self, key:
&amp;Q) -&gt; Option&lt;&amp;V&gt;
  where
      K: std::borrow::Borrow&lt;Q&gt;,
      Q: std::hash::Hash + Eq + ?Sized,
  {
</code></pre>
</li>
</ul>
<h2>Removed</h2>
<ul>
<li>Dependency to <code>lazy_static</code> and <code>async_once</code>
are removed.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/jaemk/cached/commits">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cached&package-manager=cargo&previous-version=0.43.0&new-version=0.44.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jun 5, 2023
1 parent ea5b43c commit 4d4a74a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
16 changes: 4 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vdev/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ publish = false
[dependencies]
anyhow = "1.0.71"
atty = "0.2.14"
cached = "0.43.0"
cached = "0.44.0"
chrono = { version = "0.4.22", default-features = false, features = ["serde", "clock"] }
clap = { version = "4.1.14", features = ["derive"] }
clap-verbosity-flag = "2.0.1"
Expand Down

0 comments on commit 4d4a74a

Please sign in to comment.