From a9023abbcbc235f85602954fd0277b0c0e220741 Mon Sep 17 00:00:00 2001 From: Emulator000 Date: Mon, 28 Sep 2020 13:36:56 +0200 Subject: [PATCH] Updated README async --- Cargo.toml | 2 +- README.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c2e01b3..e144f16 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "simple-cache" description = "A basic and simple Rust library async/await ready caching implementation for structures." - version = "0.1.3" + version = "0.1.4" authors = ["Emulator000 "] edition = "2018" readme = "README.md" diff --git a/README.md b/README.md index 8d443ad..5cfa5c2 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ struct Object { impl CacheItem for Object {} +#[tokio::main] async fn main() { let cache = Cache::new(); let object = Object {