Skip to content

Commit 7a55210

Browse files
chore(deps): Bump cached from 0.43.0 to 0.44.0 (vectordotdev#17599)
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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 8e04259 commit 7a55210

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

Cargo.lock

+4-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vdev/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ publish = false
1010
[dependencies]
1111
anyhow = "1.0.71"
1212
atty = "0.2.14"
13-
cached = "0.43.0"
13+
cached = "0.44.0"
1414
chrono = { version = "0.4.22", default-features = false, features = ["serde", "clock"] }
1515
clap = { version = "4.1.14", features = ["derive"] }
1616
clap-verbosity-flag = "2.0.1"

0 commit comments

Comments
 (0)