chore(deps): bump cached from 0.43.0 to 0.46.1
Bumps cached from 0.43.0 to 0.46.1.
Changelog
Sourced from cached's changelog.
[0.46.1 / [cached_proc_macro[0.18.1]]
Added
Changed
- Fix #once sync_writes bug causing a deadlock after ttl expiry, jaemk/cached#174
Removed
[0.46.0]
Added
- Add
ahashfeature to use the faster ahash algorithm.- Set
ahashas a default feature.- Update hashbrown
0.13.0->0.14.0Changed
Removed,
[0.45.1] / [cached_proc_macro[0.18.0]]
Added
Changed
- Release
*_no_cachechanges from0.45.0. The change is in the proc macro crate which I forgot to release a new version of.Removed
[0.45.0]
Added
- Generate
*_no_cachefunction for every cached function to allow calling the original function without caching. This is backwards incompatible if you have a function with the same name.Changed
tokiodependency has been removed fromproc_macrofeature (originally unecessarily included).asyncfeature has been removed from thedefaultfeature. This is a backwards incompatible change. If you want to useasyncfeatures, you need to enableasyncexplicitly.- remove accidental
#[doc(hidden)]on thestoresmoduleRemoved
[0.44.0] / [cached_proc_macro[0.17.0]]
Added
- Option to enable redis multiplex-connection manager on
AsyncRedisCacheChanged
Show proc-macro documentation on docs.rs
Document needed feature flags
Hide implementation details in documentation
Relax
Cachedtrait'scache_get,cache_get_mutandcache_removekey parameter. AllowK: Borrow<Q>likestd::collections::HashMapand friends. Avoids copies particularly onCached<String, _>where now you can docache.cache_get("key")and before you had tocache.cache_get("key".to_string()).Note: This is a minor breaking change for anyone manually implementing the
Cachedtrait. The signatures ofcache_get,cache_get_mut, andcache_removemust be updated to include the additional trait bound on thekeytype:fn cache_get<Q>(&mut self, key: &Q) -> Option<&V> where K: std::borrow::Borrow<Q>,
... (truncated)
Commits
- See full diff in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.