jaemk / cached

Rust cache structures and easy function memoization
MIT License
1.57k stars 95 forks source link

Make `cache_set_lifespan` the inverse of `cache_get_lifespan` #199

Closed 9999years closed 7 months ago

9999years commented 7 months ago

This makes it possible to temporarily change a cache lifespan, or to remove a cache lifespan once it's set. See #197 for context.