Implement a shared state between tasks

This commit is contained in:
GuilhermeWerner
2021-01-19 12:24:50 -03:00
parent 751a8d2dfb
commit 81f8aed54d
4 changed files with 27 additions and 12 deletions

View File

@ -1,3 +1,5 @@
#![allow(non_snake_case)]
use mini_redis::{client, Result};
#[tokio::main]