1 2 3 4 5 6 7 8
use cached::macros::cached; #[cached(sync_writes = "by_key", sync_writes_buckets = 0)] fn my_fn(k: i32) -> i32 { k } fn main() {}