cached 1.1.0

Generic cache implementations and simplified function memoization
Documentation
1
2
3
4
5
error: `unsync_reads` requires a store that implements `CachedRead` (no mutation on reads). `LruCache` and `LruTtlCache` update LRU recency on reads; `TtlCache` may refresh TTL. Use the default store (UnboundCache), `TtlSortedCache`, or a custom `ty` that implements `CachedRead`.
 --> tests/ui/unsync_reads_sized_cache.rs:4:4
  |
4 | fn my_fn(k: i32) -> i32 {
  |    ^^^^^