hydracache 0.39.0

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

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