Fix tokio dep in the README's example

Add missing tokio feature in the example's dependencies.
This commit is contained in:
Guillaume Charmetant
2023-09-11 11:02:24 +02:00
committed by Tim
parent f4db8cc5b4
commit dd63fb59bf

View File

@@ -83,7 +83,7 @@ your `Cargo.toml`:
anyhow = "1.0"
futures = "0.3"
tarpc = { version = "0.31", features = ["tokio1"] }
tokio = { version = "1.0", features = ["macros"] }
tokio = { version = "1.0", features = ["rt-multi-thread", "macros"] }
```
In the following example, we use an in-process channel for communication between