cached 1.1.0

Generic cache implementations and simplified function memoization
Documentation
1
2
3
4
5
6
7
error: `convert` requires `key` or `ty` to be set
 --> tests/ui/cached_convert_without_key.rs:3:1
  |
3 | #[cached(convert = r#"{ k }"#)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in the attribute macro `cached` (in Nightly builds, run with -Z macro-backtrace for more info)