hydracache 0.24.0

User-facing HydraCache runtime crate.
Documentation
1
2
3
4
5
6
7
8
use hydracache::cacheable;

fn main() {
    let _future = cacheable!(
        key = "value:1",
        load = || async { Ok::<_, std::io::Error>(1_u64) },
    );
}