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

@ -19,6 +19,7 @@ path = "Source/Server.rs"
[dependencies]
tokio = { version = "1.0.2", features = ["full"] }
mini-redis = "0.4"
bytes = "1.0.1"
[[example]]
name="Hello"