cached 2.0.2

Generic cache implementations and simplified function memoization
Documentation
1
2
3
4
5
error: `ttl` must be >= 1
 --> tests/ui/concurrent_cached_ttl_zero.rs:4:4
  |
4 | fn my_fn(k: i32) -> Result<i32, String> {
  |    ^^^^^