Releases: tylerreisinger/cache-macro
Releases · tylerreisinger/cache-macro
Release 0.4.0
Changes:
- Rename macro to "cache"
- Rename crate to "cache-macro
- Improve support for other kinds of caches
Release 0.3.0
Changes:
- Default to using a static cache protected by a Mutex instead of TLS.
- TLS can still be used with the
#[lru_config(thread_local)]
attribute.
Release 0.2.3
Changes:
- Fixed an issue with non-Copy types.
Release 0.2.2
Changes:
- The cache type used can now be configured
- Certain arguments can be ignored for the purpose of caching
Release 0.2.1
Changes:
- Reference arguments are now supported
- CI support added
- Fixed an issue that prevented non-Copy arguments from being usable
Release 0.2.0
Changes:
- The LruCache now resides in thread-local storage, allowing the decorated functions to be used in multi-threaded contexts without sharing their cached results.