From cb396d26b3e4058115251ac0a41d092877b71151 Mon Sep 17 00:00:00 2001 From: Romain Ruetschi Date: Thu, 8 Aug 2024 09:50:05 +0200 Subject: [PATCH] Only enable tokios `fs` feature in tests --- rpc/Cargo.toml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index d05b4e1bd..301ff1a09 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -52,15 +52,12 @@ websocket-client = [ "async-tungstenite", "futures", "tokio/rt-multi-thread", - "tokio/fs", "tokio/macros", "tokio/sync", "tokio/time", "tracing" ] -mock-client = [ - "tokio/fs" -] +mock-client = [] [dependencies] tendermint = { version = "0.39.0", default-features = false, path = "../tendermint" } @@ -100,3 +97,4 @@ tendermint = { version = "0.39.0", default-features = false, path = "../tendermi http = { version = "1", default-features = false, features = ["std"] } lazy_static = { version = "1.4.0", default-features = false } tokio-test = { version = "0.4", default-features = false } +tokio = { version = "1.0", default-features = false, features = ["rt-multi-thread", "fs"] }