fix(deps): update rust crate cached to v1#964
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
95d3951 to
01db5e9
Compare
01db5e9 to
1b784ed
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.44.0→1.0.0Release Notes
jaemk/cached (cached)
v1.1.0Added
ExpiringCache(andExpiringCacheBuilder) as a size-unbounded store where each value implements theExpirestrait and determines its own expiration.expires = trueattribute to the#[cached]procedural macro: automatically selectsExpiringCache(unbounded) orExpiringLruCache(LRU-bounded whensizeis also set), so the return type controls its own expiry viaExpires. Compatible withresult,option,result_fallback,sync_writes,key/convert, andsize. Mutually exclusive withttl,ty,create,with_cached_flag,unsync_reads,refresh, andunbound.expires = trueattribute in the#[once]procedural macro to allow single-value functions to utilize value-defined expiration (Expirestrait).src/stores/expiring_lru.rscovering theExpirestrait andExpiringLruCache'sCachedIter::iterexpired-filtering,Clone,std::fmt::Debug,cache_remove, andcache_clear.std::fmt::DebugandCloneforTtlSortedCache(and its internalEntrytype) andExpiringCacheto ensure fullDebug/Clonetrait parity across all 7 core in-memory store types.UnboundCache,LruCache,TtlCache,LruTtlCache,TtlSortedCache) verifyingDebugandClonetrait behaviors;UnboundCacheandLruCachealso verifyPartialEqandEq.try_build()methods (asserting expectedBuildErroroutcomes for invalid capacities, sizes, or missing required attributes likettl).std::fmt::Displayrepresentation for allBuildErrorvariants insrc/stores/mod.rs.benches/cache_benches.rs) for cache hits across all 7 core in-memory stores (UnboundCache,LruCache,TtlCache,LruTtlCache,ExpiringLruCache,ExpiringCache,TtlSortedCache), cache misses & inserts, eviction capacity overhead, andRwLocklock-synchronization (with and withoutCachedRead::cache_get_readunsynchronized reads).benchtarget to theMakefileto run the benchmark suite..github/workflows/codspeed.yml) for automated, low-noise continuous benchmarking on every push and pull request.examples/expires_per_key.rsdemonstrating how to use theExpirestrait withExpiringLruCacheandExpiringCachefor per-value expiration, including keyed caching via#[cached(expires = true)]and single-value caching via#[once(expires = true)].Expires,ExpiringCache, andExpiringLruCachetosrc/lib.rs(automatically synced toREADME.md).v1.0.0v0.59.0[0.59.0 / [cached_proc_macro[0.27.0]]]
v0.58.0[0.58.0]
v0.57.0[0.57.0 / [cached_proc_macro[0.26.0]]]
v0.56.0[0.56.0 / [cached_proc_macro[0.25.0]]]
v0.55.1[0.55.1 / [cached_proc_macro[0.24.0]]]
v0.54.0[0.54.0]
v0.53.1[0.53.1 / [cached_proc_macro[0.23.0]]]
v0.53.0[0.53.0]
v0.52.0[0.52.0 / [cached_proc_macro[0.22.0]] ]
v0.51.4[0.51.4]
v0.51.3[0.51.3]
v0.51.2[0.51.2]
v0.51.1[0.51.1]
v0.51.0[0.51.0]
v0.50.0[0.50.0 / [cached_proc_macro[0.21.0]] ]
v0.49.3[0.49.3]
v0.49.2[0.49.2]
v0.49.1[0.49.1]
v0.49.0[0.49.0 / [cached_proc_macro[0.20.0]] ]
v0.48.1[0.48.1 / [cached_proc_macro[0.19.1]] / [cached_proc_macro_types[0.1.1]]]
v0.48.0[0.48.0 / [cached_proc_macro[0.19.0]]]
v0.47.0[0.47.0]
v0.46.1[0.46.1 / [cached_proc_macro[0.18.1]]
v0.46.0[0.46.0]
v0.45.1[0.45.1] / [cached_proc_macro[0.18.0]]
v0.45.0[0.45.0]
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.