From cfc7584eb6616768e88271bb3e0b055154fcd00c Mon Sep 17 00:00:00 2001 From: Geoffry Song Date: Thu, 9 Apr 2020 23:05:55 -0700 Subject: [PATCH] Move "sync" tokio feature to dev-dependencies (#461) --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 81ce9c6..ede6b91 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,7 +44,7 @@ futures-core = { version = "0.3", default-features = false } futures-sink = { version = "0.3", default-features = false } futures-util = { version = "0.3", default-features = false } tokio-util = { version = "0.3.1", features = ["codec"] } -tokio = { version = "0.2", features = ["io-util", "sync"] } +tokio = { version = "0.2", features = ["io-util"] } bytes = "0.5.2" http = "0.2" log = "0.4.1" @@ -65,7 +65,7 @@ serde = "1.0.0" serde_json = "1.0.0" # Examples -tokio = { version = "0.2", features = ["dns", "macros", "rt-core", "tcp"] } +tokio = { version = "0.2", features = ["dns", "macros", "rt-core", "sync", "tcp"] } env_logger = { version = "0.5.3", default-features = false } rustls = "0.16" tokio-rustls = "0.12.0"