From dee6c87fcf90982fc6c13e4e74658b91d145062d Mon Sep 17 00:00:00 2001 From: CZ Date: Fri, 18 Feb 2022 17:14:55 +0800 Subject: [PATCH 1/2] Add rt-multi-thread feature for example of stdio --- stdio/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdio/Cargo.toml b/stdio/Cargo.toml index fe39581e..ccb37f50 100644 --- a/stdio/Cargo.toml +++ b/stdio/Cargo.toml @@ -17,7 +17,7 @@ tokio = { version = "1", features = ["io-std", "io-util"] } tokio-util = { version = "0.6", features = ["codec"] } [dev-dependencies] -tokio = { version = "1", features = ["rt", "macros"] } +tokio = { version = "1", features = ["rt", "macros", "rt-multi-thread"] } lazy_static = "1.0" env_logger = "0.7" From 0806732dee9ae62d67f05d929f403ffbf59d78cf Mon Sep 17 00:00:00 2001 From: CZ Date: Mon, 21 Feb 2022 09:56:21 +0800 Subject: [PATCH 2/2] rt and rt-multi-thread is redundant Co-authored-by: Niklas Adolfsson --- stdio/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdio/Cargo.toml b/stdio/Cargo.toml index ccb37f50..8a399613 100644 --- a/stdio/Cargo.toml +++ b/stdio/Cargo.toml @@ -17,7 +17,7 @@ tokio = { version = "1", features = ["io-std", "io-util"] } tokio-util = { version = "0.6", features = ["codec"] } [dev-dependencies] -tokio = { version = "1", features = ["rt", "macros", "rt-multi-thread"] } +tokio = { version = "1", features = ["macros", "rt-multi-thread"] } lazy_static = "1.0" env_logger = "0.7"