cached 1.1.0

Generic cache implementations and simplified function memoization
Documentation
1
2
3
4
5
error: `result_fallback` requires a store that implements `CloneCached`. The default `UnboundCache` and `LruCache` (size without ttl) do not implement it. Use `ttl` (for `TtlCache`), `size` + `ttl` (for `LruTtlCache`), `expires` (for `ExpiringCache`/`ExpiringLruCache`), or a custom `ty`.
 --> tests/ui/result_fallback_unbound_cache.rs:4:4
  |
4 | fn my_fn(k: i32) -> Result<i32, ()> {
  |    ^^^^^