cached 3.0.0

Generic cache implementations and simplified function memoization
Documentation
1
2
3
4
5
error: `force_refresh` takes a curly-brace block, e.g. `force_refresh = { id == 0 }` (or the quoted form `force_refresh = "{ id == 0 }"`)
 --> tests/ui/cached_force_refresh_non_string.rs:3:41
  |
3 | #[cached(ttl_secs = 60, force_refresh = true)]
  |                                         ^^^^