From fda2e6d5ef1d91d8e8f09508d3213542bba2b95d Mon Sep 17 00:00:00 2001 From: ice_iix Date: Mon, 6 Sep 2021 17:24:39 -0700 Subject: [PATCH] protocol: add direct tokio dependency --- Cargo.lock | 1 + protocol/Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 5f3b152..605e15f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2254,6 +2254,7 @@ dependencies = [ "sha-1", "std_or_web", "steven_shared", + "tokio", ] [[package]] diff --git a/protocol/Cargo.toml b/protocol/Cargo.toml index 83f987c..5d6cb49 100644 --- a/protocol/Cargo.toml +++ b/protocol/Cargo.toml @@ -26,4 +26,5 @@ path = "../std_or_web" version = "0" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] +tokio = { version = "1", features = [ "rt", "net" ]} reqwest = { version = "0.11.4", features = [ "blocking" ]}