Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): Bump cached from 0.43.0 to 0.44.0 (#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<Q></code> like <code>std::collections::HashMap</code> and friends. Avoids copies particularly on <code>Cached<String, _></code> where now you can do <code>cache.cache_get("key")</code> and before you had to <code>cache.cache_get("key".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<Q>(&mut self, key: &Q) -> Option<&V> where K: std::borrow::Borrow<Q>, 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