Skip to content

cachet v0.5.1

Choose a tag to compare

@github-actions github-actions released this 01 Jun 16:01
· 35 commits to main since this release
b15b152
  • ✨ Features

    • Add get_or_insert_with and try_get_or_insert_with methods that accept closures returning CacheEntry<V>, enabling per-entry TTL control on cache-miss computations.
    • Add eviction telemetry via cache.eviction and cache.expired, opt-in through InMemoryCacheBuilder::with_eviction_telemetry together with the new CacheBuilder::memory_with helper.