From dd63fb59bf4d4cc90fc31d1e6945b141ec191f84 Mon Sep 17 00:00:00 2001 From: Guillaume Charmetant Date: Mon, 11 Sep 2023 11:02:24 +0200 Subject: [PATCH] Fix tokio dep in the README's example Add missing tokio feature in the example's dependencies. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0b5b9f4..908ba8b 100644 --- a/README.md +++ b/README.md @@ -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