From a841388f24eb9f14abd9341e872322cd2d3db570 Mon Sep 17 00:00:00 2001 From: Ning Sun Date: Fri, 9 Apr 2021 09:16:48 +0800 Subject: [PATCH] make tokio an optional dependency --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 2f20349b..a1c2c776 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ async-trait = { version = "0.1.17", optional = true } config-crate = { package = "config", version = "0.11", default-features = false, optional = true } serde = { version = "1.0", features = ["derive"], optional = true } # async runtimes -tokio = { version = "1", features = ["sync"] } +tokio = { version = "1", features = ["sync"], optional = true } async-std = { version = "1", optional = true } [dev-dependencies]